Skip to content

Add snps,dis_u3_susphy_quirk for some QC targets

Prashanth K linux-arm-msm linux-devicetree lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5arm64: dts: qcom: sm8150: Add snps,dis_u3_susphy_quirkarch/arm64/boot/dts/qcom/sm8150.dtsi+2 -00 replies
2/5arm64: dts: qcom: sm8350: Add snps,dis_u3_susphy_quirkarch/arm64/boot/dts/qcom/sm8350.dtsi+2 -00 replies
3/5arm64: dts: qcom: sm8450: Add snps,dis_u3_susphy_quirkarch/arm64/boot/dts/qcom/sm8450.dtsi+1 -00 replies
4/5arm64: dts: qcom: qcs615: Add snps,dis_u3_susphy_quirkarch/arm64/boot/dts/qcom/qcs615.dtsi+2 -00 replies
5/5arm64: dts: qcom: qdu1000: Add snps,dis_u3_susphy_quirkarch/arm64/boot/dts/qcom/qdu1000.dtsi+1 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKonrad Dybcio
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/5] Add snps,dis_u3_susphy_quirk for some QC targets

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/[email protected]/

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(+)
Signature · 1 line
2.25.1