Devicetree
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: monaco-arduino-monza: Disable ASPM L0s for switch DSP link
@ 2026-12-02  6:57 Krishna Chaitanya Chundru
  2026-12-02  9:34 ` Konrad Dybcio
  0 siblings, 1 reply; 2+ messages in thread
From: Krishna Chaitanya Chundru @ 2026-12-02  6:57 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, Krishna Chaitanya Chundru

The link between the PCIe switch downstream port and the USB controller
behind it reports a large number of correctable AER errors when ASPM L0s
is enabled. With L0s disabled on this link, no errors are seen.

Add the aspm-no-l0s property to the switch downstream port node so that
the PCI core doesn't enable L0s for this link.

Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
index 940a03732eef..611e3c226d83 100644
--- a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
+++ b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
@@ -549,6 +549,9 @@ pcie@2,0 {
 			ranges;
 			reg = <0x021000 0x00 0x00 0x00 0x00>;
 
+			/* L0s on the switch DSP <-> USB link causes AERs */
+			aspm-no-l0s;
+
 			usb@0 {
 				compatible = "pci104c,8241";
 				reg = <0 0 0 0 0>;

---
base-commit: 0469eb7b78d21290b6f031881e69a9179e810d73
change-id: 20261202-monza_aer_fix-f4b277283643

Best regards,
--  
Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: qcom: monaco-arduino-monza: Disable ASPM L0s for switch DSP link
  2026-12-02  6:57 [PATCH] arm64: dts: qcom: monaco-arduino-monza: Disable ASPM L0s for switch DSP link Krishna Chaitanya Chundru
@ 2026-12-02  9:34 ` Konrad Dybcio
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2026-12-02  9:34 UTC (permalink / raw)
  To: Krishna Chaitanya Chundru, Bjorn Andersson, Konrad Dybcio,
	Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree

On 12/2/26 7:57 AM, Krishna Chaitanya Chundru wrote:
> The link between the PCIe switch downstream port and the USB controller
> behind it reports a large number of correctable AER errors when ASPM L0s
> is enabled. With L0s disabled on this link, no errors are seen.
> 
> Add the aspm-no-l0s property to the switch downstream port node so that
> the PCI core doesn't enable L0s for this link.
> 
> Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
> index 940a03732eef..611e3c226d83 100644
> --- a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
> +++ b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
> @@ -549,6 +549,9 @@ pcie@2,0 {
>  			ranges;
>  			reg = <0x021000 0x00 0x00 0x00 0x00>;
>  
> +			/* L0s on the switch DSP <-> USB link causes AERs */
> +			aspm-no-l0s;

Is this related?

https://lore.kernel.org/linux-arm-msm/20261112-ik_disable_aspm-v1-1-f43d8ca7703b@oss.qualcomm.com/

(please also see my reply there)

Konrad

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-02  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  6:57 [PATCH] arm64: dts: qcom: monaco-arduino-monza: Disable ASPM L0s for switch DSP link Krishna Chaitanya Chundru
2026-12-02  9:34 ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox