All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI: Add support for PCI Enhanced Allocation "BARs"
@ 2015-09-23 22:27 ` Sean O. Stalley
  0 siblings, 0 replies; 11+ messages in thread
From: Sean O. Stalley @ 2015-09-23 22:27 UTC (permalink / raw)
  To: bhelgaas-hpIqsD4AKlfQT0dZR+AlfA, yinghai-DgEjT+Ai2ygdnm+yROfE0A,
	rajatxjain-Re5JQEeQqe8AvxtiuMwx3w, mst-H+wXaHxf7aLQT0dZR+AlfA,
	zajec5-Re5JQEeQqe8AvxtiuMwx3w, gong.chen-VuQAYsv1563Yd54FQh9/CA,
	linux-pci-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-api-u79uwXL29TY76Z2rM5mHXA
  Cc: sean.stalley-ral2JQCrhuEAvxtiuMwx3w

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
on Root Complex Integrated Endpoints.

The Enhanced Allocation ECN is publicly available here:
https://www.pcisig.com/specifications/conventional/ECN_Enhanced_Allocation_23_Oct_2014_Final.pdf


Changes from V1:
	- Use generic PCI resource claim functions (instead of EA-specific functions)
	- Only add support for RCiEPs (instead of all devices).
	- Removed some debugging messages leftover from early testing.


Sean O. Stalley (2):
  PCI: Add Enhanced Allocation register entries
  PCI: Add support for Enhanced Allocation devices

 drivers/pci/pci.c             | 174 ++++++++++++++++++++++++++++++++++++++++++
 drivers/pci/pci.h             |   1 +
 drivers/pci/probe.c           |   3 +
 include/uapi/linux/pci_regs.h |  40 +++++++++-
 4 files changed, 217 insertions(+), 1 deletion(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-09-24 16:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23 22:27 [PATCH v2 0/2] PCI: Add support for PCI Enhanced Allocation "BARs" Sean O. Stalley
2015-09-23 22:27 ` Sean O. Stalley
2015-09-23 22:27 ` [PATCH v2 1/2] PCI: Add Enhanced Allocation register entries Sean O. Stalley
2015-09-23 23:26 ` [PATCH v2 0/2] PCI: Add support for PCI Enhanced Allocation "BARs" Yinghai Lu
2015-09-23 23:51   ` Sean O. Stalley
2015-09-24  0:25     ` Yinghai Lu
     [not found] ` <1443047264-4003-1-git-send-email-sean.stalley-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-09-23 22:27   ` [PATCH v2 2/2] PCI: Add support for Enhanced Allocation devices Sean O. Stalley
2015-09-23 22:27     ` Sean O. Stalley
2015-09-24  0:34   ` [PATCH v2 0/2] PCI: Add support for PCI Enhanced Allocation "BARs" David Daney
2015-09-24  0:34     ` David Daney
2015-09-24 16:39     ` Sean O. Stalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.