[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1452297553-19911-1-git-send-email-ddaney.cavm@gmail.com>
Date: Fri, 8 Jan 2016 15:59:11 -0800
From: David Daney <ddaney.cavm@...il.com>
To: Bjorn Helgaas <bhelgaas@...gle.com>, linux-pci@...r.kernel.org,
Will Deacon <will.deacon@....com>,
linux-arm-kernel@...ts.infradead.org,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, devicetree@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, David Daney <david.daney@...ium.com>
Subject: [PATCH v3 0/2] pci: Add host controller driver for Cavium ThunderX PCIe
From: David Daney <david.daney@...ium.com>
Some Cavium ThunderX processors require quirky access methods for the
config space of the PCIe bridge.
There are two patches:
1) Refactor code in pci-host-generic so that it can more easily be
used by other drivers. This splits the driver for CAM and ECAM
access methods to a separate file from the common host driver code.
2) Add the ThunderX PCIe driver, which leverages the code in
pci-host-generic
Changes from v2: Improve device tree binding example as noted by Rob
Herring. Rename pcie-thunder-pem.* to pci-thunder-pem.* for better
consistency. Update MAINTAINERS to reflect the changes.
Changes from v1: Split CAM and ECAM code from common driver code as
suggested by Arnd Bergmann. Fix spelling errors in
pcie-thunder-pem.txt
David Daney (2):
PCI: generic: Refactor code to enable reuse by other drivers.
pci, pci-thunder-pem: Add PCIe host driver for ThunderX processors.
.../devicetree/bindings/pci/pci-thunder-pem.txt | 43 ++++
MAINTAINERS | 9 +
drivers/pci/host/Kconfig | 11 +
drivers/pci/host/Makefile | 2 +
drivers/pci/host/pci-host-common.c | 194 ++++++++++++++
drivers/pci/host/pci-host-common.h | 56 ++++
drivers/pci/host/pci-host-generic.c | 190 +-------------
drivers/pci/host/pci-thunder-pem.c | 283 +++++++++++++++++++++
8 files changed, 602 insertions(+), 186 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pci/pci-thunder-pem.txt
create mode 100644 drivers/pci/host/pci-host-common.c
create mode 100644 drivers/pci/host/pci-host-common.h
create mode 100644 drivers/pci/host/pci-thunder-pem.c
--
1.8.3.1
Powered by blists - more mailing lists