Skip to content

Asynchronous linkdown recovery

[email protected] linux-arm-kernel linux-devicetree linux-pci lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesIn review
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Add missing device reset to link-down handle

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5PCI: armada8k: Disable LTSSM on link down interruptsdrivers/pci/controller/dwc/pcie-armada8k.c+38 -01 reply
2/5PCI: armada8k: Add link-down handledrivers/pci/controller/dwc/pcie-armada8k.c+69 -01 reply
3/5dt-bindings: pci: add system controller and MAC reset bit to Armada 7K/8K controller bindingsDocumentation/devicetree/bindings/pci/pci-armada8k.txt+6 -01 reply
4/5arm64: dts: marvell: add pcie mac reset to pciearch/arm64/boot/dts/marvell/armada-cp11x.dtsi+7 -00 replies
5/5PCI: armada8k: add device reset to link-down handledrivers/pci/controller/dwc/pcie-armada8k.c+22 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [”PATCH” v2 0/5] Asynchronous linkdown recovery

From: Ben Peled <[email protected]>

The following patches implement the required procedure to handle and recover from asynchronous PCIE link down events on Armada SoCs.

The procedure is defined as the following:
1) Prevent new access to the PCI-E I/F by disabling the LTSSM
2) Flush all pending transaction/access to the PCI-E I/F
3) HW reset the PCIE end point device (based on board support)
4) Reset the PCIE MAC
5) Reinitialize the PCIE root complex and enable the LTSSM

The execution of this procedure is triggered by the PCIE RST_LINK_DOWN interrupt

v1 --> v2
- Add missing device reset to link-down handle

Ben Peled (5):
PCI: armada8k: Disable LTSSM on link down interrupts
PCI: armada8k: Add link-down handle
dt-bindings: pci: add system controller and MAC reset bit to
Armada 7K/8K controller bindings
arm64: dts: marvell: add pcie mac reset to pcie
PCI: armada8k: add device reset to link-down handle

 Documentation/devicetree/bindings/pci/pci-armada8k.txt |   6 +
 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi          |   7 ++
 drivers/pci/controller/dwc/pcie-armada8k.c             | 127 ++++++++++++++++++++
 3 files changed, 140 insertions(+)
Signature · 1 line
2.7.4