]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: Add support for Enhanced Allocation devices
authorSean O. Stalley <sean.stalley@intel.com>
Thu, 29 Oct 2015 22:35:39 +0000 (17:35 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 29 Oct 2015 22:35:39 +0000 (17:35 -0500)
commit938174e59f83354251a75a2b90171e0ffdf6f1d7
treed1b18b057c0088cd780d4f682fedeb0dfe8b8eee
parentf80b0ba959641f13524507d60eae4d01ea65c991
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>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/probe.c