mbox

[PULL,Xenial] ThunderX PCIe support

Message ID CALdTtntO9swPmov30=Z8g4zjQhmyGbW2oTOnJ2wFQBfoE7WXLA@mail.gmail.com
State New
Headers show

Pull-request

git://kernel.ubuntu.com/dannf/ubuntu-xenial.git thunder-pcie

Message

dann frazier March 17, 2016, 1:14 a.m. UTC
The drivers for Cavium's ThunderX platforms have hit linux-next. This
backports them to Xenial. I tested on a ThunderX system and an X-Gene
(for regression).

I've also tested on a Dragonboard 410c. For that test, I applied these
patches to the 4.4.0-1009.9 release, but left them disabled in the
config. The patches required some minor tweaking to apply in
Kconfig/Makefile/MAINTAINERS because the dragonboard branch is also
carrying a new PCI driver.

This changeset includes a refactoring of the pci-generic driver to
permit code reuse. pci-generic is currently ARM-specific, and I'm not
aware of any system that Ubuntu currently supports that uses it.
However, I am aware that a refactoring may complicate the application
stable backports. I'll volunteer to resolve any such porting problems.

The following changes since commit d354e1133defd980831cc590d70a4bc2dcb7b617:

  lib/mpi: Endianness fix (2016-03-16 22:27:48 +0000)

are available in the git repository at:

  git://kernel.ubuntu.com/dannf/ubuntu-xenial.git thunder-pcie

for you to fetch changes up to 44cce5268ac070e0f306c3e39cc554b181d812bc:

  UBUNTU: [Config] CONFIG_PCI_HOST_THUNDER_ECAM=y (2016-03-16 17:07:15 -0600)

----------------------------------------------------------------
David Daney (5):
      PCI: generic: Move structure definitions to separate header file
      PCI: generic: Add pci_host_common_probe(), based on gen_pci_probe()
      PCI: generic: Expose pci_host_common_probe() for use by other drivers
      PCI: thunder: Add PCIe host driver for ThunderX processors
      PCI: thunder: Add driver for ThunderX-pass{1,2} on-chip devices

dann frazier (3):
      UBUNTU: [Config] CONFIG_PCI_HOST_COMMON=y
      UBUNTU: [Config] CONFIG_PCI_HOST_THUNDER_PEM=y
      UBUNTU: [Config] CONFIG_PCI_HOST_THUNDER_ECAM=y

 .../devicetree/bindings/pci/pci-thunder-ecam.txt   |  30 ++
 .../devicetree/bindings/pci/pci-thunder-pem.txt    |  43 +++
 MAINTAINERS                                        |   9 +
 debian.master/config/config.common.ubuntu          |   3 +
 drivers/pci/host/Kconfig                           |  18 +
 drivers/pci/host/Makefile                          |   3 +
 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-ecam.c                | 403 +++++++++++++++++++++
 drivers/pci/host/pci-thunder-pem.c                 | 346 ++++++++++++++++++
 11 files changed, 1109 insertions(+), 186 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pci/pci-thunder-ecam.txt
 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-ecam.c
 create mode 100644 drivers/pci/host/pci-thunder-pem.c

Comments

Tim Gardner March 17, 2016, 2:14 a.m. UTC | #1
On 03/16/2016 07:14 PM, Dann Frazier wrote:
> The drivers for Cavium's ThunderX platforms have hit linux-next. This
> backports them to Xenial. I tested on a ThunderX system and an X-Gene
> (for regression).
> 
> I've also tested on a Dragonboard 410c. For that test, I applied these
> patches to the 4.4.0-1009.9 release, but left them disabled in the
> config. The patches required some minor tweaking to apply in
> Kconfig/Makefile/MAINTAINERS because the dragonboard branch is also
> carrying a new PCI driver.
> 
> This changeset includes a refactoring of the pci-generic driver to
> permit code reuse. pci-generic is currently ARM-specific, and I'm not
> aware of any system that Ubuntu currently supports that uses it.
> However, I am aware that a refactoring may complicate the application
> stable backports. I'll volunteer to resolve any such porting problems.
> 

We'll keep that in mind. Of course, you can't leave for 5 years now.

rtg