[PATCH 0/3] Add support to handle prefetchable memory

From: Vidya Sagar
Date: Fri Oct 23 2020 - 15:57:09 EST


This patch series adds support for configuring the DesignWare IP's ATU
region for prefetchable memory translations.
It first starts by flagging a warning if the size of non-prefetchable
aperture goes beyond 32-bit as PCIe spec doesn't allow it.
And then adds required support for programming the ATU to handle higher
(i.e. >4GB) sizes and then finally adds support for differentiating
between prefetchable and non-prefetchable regions and configuring one of
the ATU regions for prefetchable memory translations purpose.

Vidya Sagar (3):
PCI: of: Warn if non-prefetchable memory aperture size is > 32-bit
PCI: dwc: Add support to program ATU for >4GB memory aperture sizes
PCI: dwc: Add support to handle prefetchable memory mapping

.../pci/controller/dwc/pcie-designware-host.c | 39 ++++++++++++++++---
drivers/pci/controller/dwc/pcie-designware.c | 12 +++---
drivers/pci/controller/dwc/pcie-designware.h | 4 +-
drivers/pci/of.c | 5 +++
4 files changed, 48 insertions(+), 12 deletions(-)

--
2.17.1