diff options
author | Sean O. Stalley <sean.stalley@intel.com> | 2015-10-29 23:35:39 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-10-29 23:35:39 +0100 |
commit | 938174e59f83354251a75a2b90171e0ffdf6f1d7 (patch) | |
tree | d1b18b057c0088cd780d4f682fedeb0dfe8b8eee /drivers/pci/iov.c | |
parent | PCI: Add Enhanced Allocation register entries (diff) | |
download | linux-938174e59f83354251a75a2b90171e0ffdf6f1d7.tar.xz linux-938174e59f83354251a75a2b90171e0ffdf6f1d7.zip |
PCI: Add support for Enhanced Allocation devices
Add support for devices using Enhanced Allocation entries instead of BARs.
This allows the kernel to parse the EA Extended Capability structure in PCI
config space and claim the BAR-equivalent resources.
See https://pcisig.com/sites/default/files/specification_documents/ECN_Enhanced_Allocation_23_Oct_2014_Final.pdf
[bhelgaas: add spec URL, s/pci_ea_set_flags/pci_ea_flags/, consolidate
declarations, print unknown property in hex to match spec]
Signed-off-by: Sean O. Stalley <sean.stalley@intel.com>
[david.daney@cavium.com: Add more support/checking for Entry Properties,
allow EA behind bridges, rewrite some error messages.]
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/iov.c')
0 files changed, 0 insertions, 0 deletions