[PATCH 00/18] PCI: aardvark controller changes BATCH 5

Marek Behún
2022-02-20T19:33:58Z

Hello Lorenzo, Krzysztof,

here comes batch 5 of changes for Aardvark PCIe controller.

This batch
- adds support for AER
- adds support for DLLSC and hotplug interrupt
- adds support for sending slot power limit message
- adds enabling/disabling PCIe clock
- adds suspend support
- optimizes link training by adding it into separate worker
- optimizes GPIO resetting by asserting it only if it wasn't asserted
already

Marek

Marek Behún (1):
arm64: dts: marvell: armada-37xx: Add clock to PCIe node

Miquel Raynal (2):
PCI: aardvark: Add clock support
PCI: aardvark: Add suspend to RAM support

Pali Rohár (13):
PCI: aardvark: Add support for AER registers on emulated bridge
PCI: Add PCI_EXP_SLTCAP_*_SHIFT macros
PCI: aardvark: Fix reporting Slot capabilities on emulated bridge
PCI: pciehp: Enable DLLSC interrupt only if supported
PCI: pciehp: Enable Command Completed Interrupt only if supported
PCI: aardvark: Add support for DLLSC and hotplug interrupt
PCI: Add PCI_EXP_SLTCTL_ASPL_DISABLE macro
PCI: Add function for parsing `slot-power-limit-milliwatt` DT property
dt-bindings: PCI: aardvark: Describe slot-power-limit-milliwatt
PCI: aardvark: Send Set_Slot_Power_Limit message
arm64: dts: armada-3720-turris-mox: Define slot-power-limit-milliwatt
for PCIe
PCI: aardvark: Run link training in separate worker
PCI: aardvark: Optimize PCIe card reset via GPIO

Russell King (2):
PCI: pci-bridge-emul: Re-arrange register tests
PCI: pci-bridge-emul: Add support for PCIe extended capabilities

.../devicetree/bindings/pci/aardvark-pci.txt | 2 +
.../dts/marvell/armada-3720-turris-mox.dts | 1 +
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 1 +
drivers/pci/controller/pci-aardvark.c | 380 ++++++++++++++++--
drivers/pci/hotplug/pciehp_hpc.c | 34 +-
drivers/pci/hotplug/pnv_php.c | 13 +-
drivers/pci/of.c | 64 +++
drivers/pci/pci-bridge-emul.c | 130 +++---
drivers/pci/pci-bridge-emul.h | 15 +
drivers/pci/pci.h | 15 +
include/uapi/linux/pci_regs.h | 4 +
11 files changed, 565 insertions(+), 94 deletions(-)

--
2.34.1