HomeFreeBSD

virtio_pci_legacy: Use the table BAR and PBA BAR from MSI-X cap

Description

virtio_pci_legacy: Use the table BAR and PBA BAR from MSI-X cap

The MSI-X resource shouldn't be assumed to be always on BAR1.
The Virtio v1.1 Spec did not specify that MSI-X table and PBA BAR has to
be BAR1 either.

Reported by: Yuan Rui <number201724@me.com>
MFC after: 2 weeks
Reviewed by: bryanv, jhb
Approved by: philip (mentor)
Differential Revision: https://reviews.freebsd.org/D28817

Details

Provenance
khngAuthored on Mar 20 2021, 7:40 AM
Reviewer
bryanv
Differential Revision
D28817: virtio_pci_legacy: Use the table BAR and PBA BAR from MSI-X cap
Parents
rG9c5aac8f2e84: fusefs: fix a dead store in fuse_vnop_advlock
Branches
Unknown
Tags
Unknown