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
Differential D28817
virtio_pci_legacy: Use the table BAR and PBA BAR from MSI-X cap khng300_gmail.com on Sat, Feb 20, 5:39 PM. Authored by
Details
The MSI-X resource shouldn't be assumed to be always on BAR1. Reported by: Yuan Rui <number201724@me.com>
Diff Detail
Event Timeline
Comment Actions
Comment Actions I think this looks fine. Minor nit: I think we tend to use 'teardown' or 'free' more commonly in device drivers rather than 'cleanup'. |