Changes in v3: - Drop "Read back PARF_LTSSM register" - Drop unnecessary inclusion of qcom,rpm-icc.h - Fix a couple of commit msg typos - Rebase, resolve some conflicts - Link to v2: https://lore.kernel.org/r/20240210-topic-8280_pcie-v2-0-1cef4b606883@xxxxxxxxxx Qualcomm PCIe RC shutdown & reinit 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 (2): PCI: qcom: reshuffle reset logic in 2_7_0 .init PCI: qcom: properly implement RC shutdown/power up drivers/pci/controller/dwc/Kconfig | 1 + drivers/pci/controller/dwc/pcie-qcom.c | 176 ++++++++++++++++++++++++--------- 2 files changed, 133 insertions(+), 44 deletions(-) --- base-commit: 26074e1be23143b2388cacb36166766c235feb7c change-id: 20240210-topic-8280_pcie-c94f58158029 Best regards, -- Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>