* [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Disable PCIe ASPM L1ss
@ 2026-11-12 16:40 Sushrut Shree Trivedi
2026-11-30 12:17 ` Konrad Dybcio
0 siblings, 1 reply; 2+ messages in thread
From: Sushrut Shree Trivedi @ 2026-11-12 16:40 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Sushrut Shree Trivedi
On the QCS6490 RB3gen2 platform, there is no mechanism for the
PCIe endpoints connected to TC9563 switch to assert #CLKREQ and
initiate a L1ss exit on the upstream link between the PCIe1 RC and
TC9563 upstream port. Hence, once the upstream link enters L1ss
and the Renesas uPD720201 endpoint connected to the switch downstream
port tries to initiate an L1 exit, a link down is seen. This is
expected because the upstream link is still in L1ss and PCIe refclk
is cut-off.
To avoid this issue, disable ASPM L1ss on the upstream link of TC9563
switch to keep the PCIe refclk always on.
Signed-off-by: Sushrut Shree Trivedi <sushrut.trivedi@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
index 909039816a21..df26c78e8a8a 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
@@ -891,6 +891,8 @@ pcie@0,0 {
pinctrl-0 = <&tc9563_resx_n>;
pinctrl-names = "default";
+ aspm-no-l1ss;
+
pcie1_switch0_dsp1: pcie@1,0 {
reg = <0x20800 0x0 0x0 0x0 0x0>;
#address-cells = <3>;
---
base-commit: 630059a5a632377b9b7b487baccde92b7ae1dd47
change-id: 20261112-rb3gen2_disable_l1ss-dee3d53fa53a
Best regards,
--
Sushrut Shree Trivedi <sushrut.trivedi@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Disable PCIe ASPM L1ss
2026-11-12 16:40 [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Disable PCIe ASPM L1ss Sushrut Shree Trivedi
@ 2026-11-30 12:17 ` Konrad Dybcio
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2026-11-30 12:17 UTC (permalink / raw)
To: Sushrut Shree Trivedi, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 11/12/26 5:40 PM, Sushrut Shree Trivedi wrote:
> On the QCS6490 RB3gen2 platform, there is no mechanism for the
> PCIe endpoints connected to TC9563 switch to assert #CLKREQ and
> initiate a L1ss exit on the upstream link between the PCIe1 RC and
> TC9563 upstream port.
Is that an issue with the switch, or is that a very flowery way
to say "the CLKREQ# pin is not connected"?
Konrad
> Hence, once the upstream link enters L1ss
> and the Renesas uPD720201 endpoint connected to the switch downstream
> port tries to initiate an L1 exit, a link down is seen. This is
> expected because the upstream link is still in L1ss and PCIe refclk
> is cut-off.
>
> To avoid this issue, disable ASPM L1ss on the upstream link of TC9563
> switch to keep the PCIe refclk always on.
>
> Signed-off-by: Sushrut Shree Trivedi <sushrut.trivedi@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> index 909039816a21..df26c78e8a8a 100644
> --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> @@ -891,6 +891,8 @@ pcie@0,0 {
> pinctrl-0 = <&tc9563_resx_n>;
> pinctrl-names = "default";
>
> + aspm-no-l1ss;
> +
> pcie1_switch0_dsp1: pcie@1,0 {
> reg = <0x20800 0x0 0x0 0x0 0x0>;
> #address-cells = <3>;
>
> ---
> base-commit: 630059a5a632377b9b7b487baccde92b7ae1dd47
> change-id: 20261112-rb3gen2_disable_l1ss-dee3d53fa53a
>
> Best regards,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-30 12:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 16:40 [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Disable PCIe ASPM L1ss Sushrut Shree Trivedi
2026-11-30 12:17 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®