Page MenuHomeFreeBSD

virtio_mmio: Negotiate the upper half of the feature bits too
ClosedPublic

Authored by jrtc27 on Jun 4 2020, 6:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 6:11 PM
Unknown Object (File)
Sun, Dec 22, 3:12 PM
Unknown Object (File)
Nov 5 2024, 12:52 PM
Unknown Object (File)
Oct 6 2024, 8:22 AM
Unknown Object (File)
Sep 24 2024, 3:09 PM
Unknown Object (File)
Sep 22 2024, 2:22 PM
Unknown Object (File)
Sep 1 2024, 9:10 PM
Unknown Object (File)
Aug 8 2024, 4:16 PM
Subscribers

Details

Summary

The feature bits are exposed as a 32-bit register with 2 banks, so we
should negotiate both halves. Notably, VIRTIO_F_VERSION_1 is in the
upper half, and will be used in an upcoming commit.

The PCI bus driver also has this bug, but the legacy BAR layout did not
include selector registers and is rather different from the modern
layout, so it remains solely as legacy.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable