From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sean O. Stalley" Subject: [PATCH 0/2] PCI: Add support for PCI Enhanced Allocation "BARs" Date: Thu, 20 Aug 2015 09:59:05 -0700 Message-ID: <1440089947-2839-1-git-send-email-sean.stalley@intel.com> Return-path: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, rajatxjain-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, gong.chen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: sean.stalley-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org List-Id: linux-api@vger.kernel.org PCI Enhanced Allocation is a new method of allocating MMIO & IO resources for PCI devices & bridges. It can be used instead of the traditional PCI method of using BARs. EA entries are hardware-initialized to a fixed address. Unlike BARs, regions described by EA are cannot be moved. Because of this, only devices which are permanently connected to the PCI bus can use EA. A removable PCI card must not use EA. This patchset adds support for using EA entries instead of BARs. The Enhanced Allocation ECN is publicly available here: https://www.pcisig.com/specifications/conventional/ECN_Enhanced_Allocation_23_Oct_2014_Final.pdf Sean O. Stalley (2): PCI: Add Enhanced Allocation register entries PCI: Add parsing of Enhanced Allocation entries drivers/pci/pci.c | 219 ++++++++++++++++++++++++++++++++++++++++++ drivers/pci/pci.h | 1 + drivers/pci/probe.c | 3 + include/uapi/linux/pci_regs.h | 40 +++++++- 4 files changed, 262 insertions(+), 1 deletion(-) -- 1.9.1