Skip to content

PCI: qcom: Switch to bus notifier for enabling ASPM of PCI devices

Manivannan Sadhasivam linux-arm-msm linux-pci lkml stable 1 version In review

Get series with b4
b4 am [email protected] change-id 20250714-aspm_fix-eed392631c8f

Versions newest first

  1. v1 Latest2 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: qcom: Switch to bus notifier for enabling ASPM of PCI devicesdrivers/pci/controller/dwc/pcie-qcom.c+37 -3310 replies
2/2PCI: qcom: Move qcom_pcie_icc_opp_update() to notifier callbackdrivers/pci/controller/dwc/pcie-qcom.c+1 -214 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] PCI: qcom: Switch to bus notifier for enabling ASPM of PCI devices

Hi,

This series switches the Qcom PCIe controller driver to bus notifier for enabling ASPM (and updating OPP) for PCI devices. This series is intented to fix the ASPM regression reported (offlist) on the Qcom compute platforms running Linux. It turned out that the ASPM enablement logic in the Qcom controller driver had a flaw that got triggered by the recent changes to the pwrctrl framework (more details in patch 1/1).

Testing
-------

I've tested this series on Thinkpad T14s laptop and able to observe ASPM state changes (through controller debugfs entry and lspci) for the WLAN device.

---
Manivannan Sadhasivam (2):
PCI: qcom: Switch to bus notifier for enabling ASPM of PCI devices
PCI: qcom: Move qcom_pcie_icc_opp_update() to notifier callback

 drivers/pci/controller/dwc/pcie-qcom.c | 73 ++++++++++++++++++----------------
 1 file changed, 38 insertions(+), 35 deletions(-)

---
base-commit: 00f0defc332be94b7f1fdc56ce7dcb6528cdf002
change-id: 20250714-aspm_fix-eed392631c8f

Best regards,

Signature · 1 line
Manivannan Sadhasivam <[email protected]>