[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171006163919.14898-1-ard.biesheuvel@linaro.org>
Date: Fri, 6 Oct 2017 17:39:17 +0100
From: Ard Biesheuvel <ard.biesheuvel@...aro.org>
To: linux-pci@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Leif Lindholm <leif.lindholm@...aro.org>,
Graeme Gregory <graeme.gregory@...aro.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Rob Herring <robh@...nel.org>,
Will Deacon <will.deacon@....com>
Subject: [PATCH v4 0/2] PCI: add support for firmware initialized DesignWare RCs
UEFI based systems incorporating a Synopsys DesignWare PCIe controller
in RC mode will typically configure it before entering the OS. If this
configuration is fully static and ECAM compliant, there is no need to
expose particulars of the device to the OS, and we can simply describe
it as "pci-host-ecam-generic".
However, the Synopsys IP may be synthesized in a way where a quirk is
needed for config space accesses to the first bus. It makes little sense
to instantiate yet another pcie-designware driver that contains all the
low level setup code, so instead, add some quirks handling to the generic
ECAM driver.
v4: - merge with pci-host-generic
- add Rob's ack to the DT binding doc
v3: - use SoC specific compatible strings
- drop MSI patch [for now], since it turns out we may not need it
v2: - use dev->fwnode directly
- replace an instance of pr_err with dev_err, and clarify the error message
- fix Kconfig/Makefile dependency errors reported by kbuild
Cc: Leif Lindholm <leif.lindholm@...aro.org>
Cc: Graeme Gregory <graeme.gregory@...aro.org>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>
Cc: Rob Herring <robh@...nel.org>
Cc: Will Deacon <will.deacon@....com>
Ard Biesheuvel (2):
PCI: pci-host-generic: add support for Synopsys DesignWare RC in ECAM
mode
dt-bindings: designware: add binding for Designware PCIe in ECAM mode
Documentation/devicetree/bindings/pci/designware-pcie-ecam.txt | 42 ++++++++++++++++++
drivers/pci/host/pci-host-generic.c | 46 ++++++++++++++++++++
2 files changed, 88 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pci/designware-pcie-ecam.txt
--
2.11.0
Powered by blists - more mailing lists