| From 0046325ae52079b46da13a7f84dd7b2a6f7c38f8 Mon Sep 17 00:00:00 2001 |
| From: Krishna Kurapati <quic_kriskura@quicinc.com> |
| Date: Thu, 4 Jul 2024 20:58:43 +0530 |
| Subject: arm64: dts: qcom: msm8998: Disable SS instance in Parkmode for USB |
| |
| From: Krishna Kurapati <quic_kriskura@quicinc.com> |
| |
| commit 0046325ae52079b46da13a7f84dd7b2a6f7c38f8 upstream. |
| |
| For Gen-1 targets like MSM8998, it is seen that stressing out the |
| controller in host mode results in HC died error: |
| |
| xhci-hcd.12.auto: xHCI host not responding to stop endpoint command |
| xhci-hcd.12.auto: xHCI host controller not responding, assume dead |
| xhci-hcd.12.auto: HC died; cleaning up |
| |
| And at this instant only restarting the host mode fixes it. Disable |
| SuperSpeed instance in park mode for MSM8998 to mitigate this issue. |
| |
| Cc: stable@vger.kernel.org |
| Fixes: 026dad8f5873 ("arm64: dts: qcom: msm8998: Add USB-related nodes") |
| Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> |
| Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> |
| Link: https://lore.kernel.org/r/20240704152848.3380602-4-quic_kriskura@quicinc.com |
| Signed-off-by: Bjorn Andersson <andersson@kernel.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi |
| +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi |
| @@ -2164,6 +2164,7 @@ |
| interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; |
| snps,dis_u2_susphy_quirk; |
| snps,dis_enblslpm_quirk; |
| + snps,parkmode-disable-ss-quirk; |
| phys = <&qusb2phy>, <&usb3phy>; |
| phy-names = "usb2-phy", "usb3-phy"; |
| snps,has-lpm-erratum; |