Skip to content

Broadcom iProc PCIe fixes and outbound mapping support

Ray Jui linux-arm-kernel linux-pci lkml 1 version Applied

Status from this message: Applied to pci/host-iproc for v4.4, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8PCI: iproc: Fix code commentdrivers/pci/host/pcie-iproc.h+1 -10 replies
2/8PCI: iproc: Remove unused codedrivers/pci/host/pcie-iproc.h+0 -30 replies
3/8PCI: iproc: Remove ARCH specific flagdrivers/pci/host/pcie-iproc.c+0 -20 replies
4/8PCI: iproc: Fix PCIe reset logicdrivers/pci/host/pcie-iproc.c+10 -50 replies
5/8PCI: iproc: Improve link detection logicdrivers/pci/host/pcie-iproc.c+23 -60 replies
6/8PCI: iproc: Update iProc PCIe device tree bindingsDocumentation/devicetree/bindings/pci/brcm,iproc-pcie.txt+20 -00 replies
7/8PCI: iproc: Add outbound mapping supportdrivers/pci/host/pcie-iproc-platform.c drivers/pci/host/pcie-iproc.c drivers/pci/host/pcie-iproc.h+157 -013 replies
8/8PCI: iproc: Fix compile warningsdrivers/pci/host/pcie-iproc.c+4 -40 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchVladimir DreizinTrac HoangScott BrandenDarren EdamuraAnup PatelKevin HilmanRay JuiHauke Mehrtens
1/8
2/8
3/8
4/8R-b T-b R-b R-b T-b
5/8R-b R-b
6/8
7/8T-b A-b A-b A-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] Broadcom iProc PCIe fixes and outbound mapping support

This patch series contains various fixes and outbound mapping support for the Broadcom iProc PCIe driver. Some of the critical fixes include 1) fix of PCIe core reset logic and therefore remove its dependency on the bootloader;
2) improved link detection logic that works for more iProc based SoCs.

This patch series also adds the outbound address mapping support. While outbound address mapping support is not required on chips like North Star, Cygnus, and etc., some of the newer iProc based chips like North Star 2 require this support to properly map the AXI address into the address used in the iProc PCIe core

This patch series is constructed based on Linux v4.3-rc1 (with workaround to disable calls to pci_read_bridge_bases in pci/probe.c that breaks some of the ARM based PCIe devices including iProc)

This patch series is tested on the following platforms with an Intel e1000e based PCIe x1 NIC card:
- ARM32 based Cygnus BCM958305K Wireless Audio board
- ARM64 based North Star 2 SVK board

code available at GITHUB:
https://github.com/Broadcom/cygnus-linux/tree/iproc-pcie-fix-v1

Ray Jui (8):
PCI: iproc: Fix code comment
PCI: iproc: Remove unused code
PCI: iproc: Remove ARCH specific flag
PCI: iproc: Fix PCIe reset logic
PCI: iproc: Improve link detection logic
PCI: iproc: Update iProc PCIe device tree bindings
PCI: iproc: Add outbound mapping support
PCI: iproc: Fix compile warnings

 .../devicetree/bindings/pci/brcm,iproc-pcie.txt    |  20 +++
 drivers/pci/host/pcie-iproc-platform.c             |  27 ++++
 drivers/pci/host/pcie-iproc.c                      | 159 +++++++++++++++++++--
 drivers/pci/host/pcie-iproc.h                      |  20 ++-
 4 files changed, 210 insertions(+), 16 deletions(-)
Signature · 1 line
1.9.1