PCI: Identify Enhanced Allocation (EA) BAR Equivalent resources in sysfs
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 16 May 2016 20:12:02 +0000 (15:12 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 16 May 2016 20:12:02 +0000 (15:12 -0500)
commit92efb1bd9bcbdf83cc0e6cfead752d0c82f63677
treec93500e8f364189e7ebf0222ac701672531bfdad
parentc20e128030caf0537d5e906753eac1c28fefdb75
PCI: Identify Enhanced Allocation (EA) BAR Equivalent resources in sysfs

Resource flags are exposed to userspace via the sysfs "resource" file.
lspci reads the sysfs file to determine resource properties.

Add a "BAR Equivalent Indicator" flag so lspci can distinguish between
[virtual] and [enhanced] resources.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Sean O. Stalley <sean.stalley@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
include/linux/ioport.h