RE: [”PATCH” 0/5] Asynchronous linkdown recovery

Ben Peled bpeled at marvell.com
Tue Apr 13 11:14:15 BST 2021


Hi all,
Please ignore this patch list there is a small change missing. 

-----Original Message-----
From: bpeled at marvell.com <bpeled at marvell.com> 
Sent: Monday, April 12, 2021 6:31 PM
To: thomas.petazzoni at bootlin.com; lorenzo.pieralisi at arm.com; bhelgaas at google.com
Cc: linux-kernel at vger.kernel.org; linux-arm-kernel at lists.infradead.org; devicetree at vger.kernel.org; linux-pci at vger.kernel.org; sebastian.hesselbarth at gmail.com; gregory.clement at bootlin.com; andrew at lunn.ch; robh+dt at kernel.org; mw at semihalf.com; jaz at semihalf.com; Kostya Porotchkin <kostap at marvell.com>; Nadav Haklai <nadavh at marvell.com>; Stefan Chulski <stefanc at marvell.com>; Ofer Heifetz <oferh at marvell.com>; Ben Peled <bpeled at marvell.com>
Subject: [”PATCH” 0/5] Asynchronous linkdown recovery

From: Ben Peled <bpeled at marvell.com>

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

Ben Peled (5):
  PCI: armada8k: Disable LTSSM on link down interrupts
  PCI: armada8k: Add link-down handle
  PCI: armada8k: add device reset to 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

 Documentation/devicetree/bindings/pci/pci-armada8k.txt |   6 +
 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi          |   7 ++
 drivers/pci/controller/dwc/pcie-armada8k.c             | 126 ++++++++++++++++++++
 3 files changed, 139 insertions(+)

-- 
2.7.4



More information about the linux-arm-kernel mailing list