diff options
author | Andre Przywara <andre.przywara@arm.com> | 2021-01-05 17:57:46 +0000 |
---|---|---|
committer | Khasim Syed Mohammed <khasim.mohammed@arm.com> | 2021-02-04 17:27:42 +0530 |
commit | b6c1d7ac1eec3b7f8c1ba03d5c0bb3c52f95bec9 (patch) | |
tree | 0a72a93a19981789830dfa56ba4e8b4f0e69430c /include/linux/pci-ecam.h | |
parent | 4727ce773a252ef8923a659c8529e3451e4fbeb8 (diff) |
n1sdp: update n1sdp pci quirk for SR-IOV support
Upstream-Status: Inappropriate [will not be submitted as its a work around to address the hardware issue]
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
VFs are not probing the vendor ID first, which is otherwise
the gate keeper for undiscovered devices. So any accesses using
a config space offset greater than 0 must be coming for an
already discovered device or from a VF that has just been created.
Also if Linux already has a struct pci_dev* for a given BDF,
this device is safe to access.
Skip the firmware table in these cases and allow accesses to
those devices. That enables SR-IOV support on the N1SDP board.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Diffstat (limited to 'include/linux/pci-ecam.h')
0 files changed, 0 insertions, 0 deletions