This series implements shutdown & reinitialization of the PCIe RC on system suspend. Tested on 8280-crd. Changes in v2: * Rebase * Get rid of "Cache last icc bandwidth", use icc_enable instead * Don't permanently assert reset on clk enable fail in "Reshuffle reset.." * Drop fixes tag in "Reshuffle reset.." * Improve commit messages of "Reshuffle reset.." and "Implement RC shutdown.." * Only set icc tag on RPMh SoCs * Pick up rb Link to v1: https://lore.kernel.org/linux-arm-msm/20231227-topic-8280_pcie-v1-0-095491baf9e4@xxxxxxxxxx/ Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> --- Konrad Dybcio (3): PCI: qcom: reshuffle reset logic in 2_7_0 .init PCI: qcom: Read back PARF_LTSSM register PCI: qcom: properly implement RC shutdown/power up drivers/pci/controller/dwc/Kconfig | 1 + drivers/pci/controller/dwc/pcie-qcom.c | 178 +++++++++++++++++++++++++-------- 2 files changed, 135 insertions(+), 44 deletions(-) --- base-commit: 445a555e0623387fa9b94e68e61681717e70200a change-id: 20240210-topic-8280_pcie-c94f58158029 Best regards, -- Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>