]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: Handle Enhanced Allocation capability for SR-IOV devices
authorDavid Daney <david.daney@cavium.com>
Thu, 29 Oct 2015 22:35:40 +0000 (17:35 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 29 Oct 2015 22:35:40 +0000 (17:35 -0500)
commit111839917fccf4f74d50ad937321acc6a07eb9c3
tree7536a1ef0d1fee3a9100ec75ee370de283d4c9d6
parent938174e59f83354251a75a2b90171e0ffdf6f1d7
PCI: Handle Enhanced Allocation capability for SR-IOV devices

SR-IOV BARs can be specified via EA entries.  Extend the EA parser to
extract the SRIOV BAR resources, and modify sriov_init() to use resources
previously obtained via EA.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Sean O. Stalley <sean.stalley@intel.com>
drivers/pci/iov.c
drivers/pci/pci.c