Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Add snps,dis_u3_susphy_quirk for some QC targets
@ 2025-03-25 12:30 Prashanth K
  2025-03-25 12:30 ` [PATCH v1 1/5] arm64: dts: qcom: sm8150: Add snps,dis_u3_susphy_quirk Prashanth K
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Prashanth K @ 2025-03-25 12:30 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: cros-qcom-dts-watchers, linux-arm-msm, devicetree, linux-kernel,
	Prashanth K

During device mode initialization on certain QC targets, before the
runstop bit is set, sometimes it's observed that the GEVNTADR{LO/HI}
register write fails. As a result, GEVTADDR registers are still 0x0.
Upon setting runstop bit, DWC3 controller attempts to write the new
events to address 0x0, causing an SMMU fault and system crash. More
info about the crash at [1].

This was initially observed on SM8450 and later reported on few
other targets as well. As suggested by Qualcomm HW team, clearing
the GUSB3PIPECTL.SUSPHY bit resolves the issue by preventing register
write failures. Address this by setting the snps,dis_u3_susphy_quirk
to keep the GUSB3PIPECTL.SUSPHY bit cleared. This change was tested
on multiple targets (SM8350, SM8450 QCS615 etc.) for over an year
and hasn't exhibited any side effects.

[1]: https://lore.kernel.org/all/fa94cbc9-e637-ba9b-8ec8-67c6955eca98@quicinc.com/

Prashanth K (3):
  arm64: dts: qcom: sm8150: Add snps,dis_u3_susphy_quirk
  arm64: dts: qcom: sm8350: Add snps,dis_u3_susphy_quirk
  arm64: dts: qcom: sm8450: Add snps,dis_u3_susphy_quirk

Pratham Pratap (2):
  arm64: dts: qcom: qcs615: Add snps,dis_u3_susphy_quirk
  arm64: dts: qcom: qdu1000: Add snps,dis_u3_susphy_quirk

 arch/arm64/boot/dts/qcom/qcs615.dtsi  | 2 ++
 arch/arm64/boot/dts/qcom/qdu1000.dtsi | 1 +
 arch/arm64/boot/dts/qcom/sm8150.dtsi  | 2 ++
 arch/arm64/boot/dts/qcom/sm8350.dtsi  | 2 ++
 arch/arm64/boot/dts/qcom/sm8450.dtsi  | 1 +
 5 files changed, 8 insertions(+)

-- 
2.25.1


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

end of thread, other threads:[~2025-04-21 14:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25 12:30 [PATCH v1 0/5] Add snps,dis_u3_susphy_quirk for some QC targets Prashanth K
2025-03-25 12:30 ` [PATCH v1 1/5] arm64: dts: qcom: sm8150: Add snps,dis_u3_susphy_quirk Prashanth K
2025-03-25 12:30 ` [PATCH v1 2/5] arm64: dts: qcom: sm8350: " Prashanth K
2025-03-25 12:30 ` [PATCH v1 3/5] arm64: dts: qcom: sm8450: " Prashanth K
2025-03-25 12:30 ` [PATCH v1 4/5] arm64: dts: qcom: qcs615: " Prashanth K
2025-03-25 12:30 ` [PATCH v1 5/5] arm64: dts: qcom: qdu1000: " Prashanth K
2025-03-25 14:41 ` [PATCH v1 0/5] Add snps,dis_u3_susphy_quirk for some QC targets Konrad Dybcio
2025-03-25 15:01   ` Prashanth K
2025-03-25 16:31     ` Konrad Dybcio
2025-03-25 22:10       ` Bjorn Andersson
2025-03-26  6:08         ` Prashanth K
2025-03-26 13:17         ` Konrad Dybcio
2025-03-26  0:21     ` Dmitry Baryshkov
2025-03-26  5:22       ` Krishna Kurapati
2025-03-26 14:35         ` Dmitry Baryshkov
2025-04-21 14:25 ` Bjorn Andersson

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