public inbox for linux-arm-msm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] msm8996: db820c: Fix mmc/ufs and get 5.4 to userspace
@ 2019-12-05 16:14 Paolo Pisati
  2019-12-05 16:15 ` [PATCH 1/6] clk: qcom: Drop gcc_aggre1_pnoc_ahb_clk clock Paolo Pisati
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Paolo Pisati @ 2019-12-05 16:14 UTC (permalink / raw)
  To: Andy Gross, Amit Pundir, Manu Gautam, Bjorn Andersson; +Cc: linux-arm-msm

With 5.4 + arm64 defconfig, db820c fails to boot to userspace: crashes
right before mounting rootfs, and resets back to LK (Bjorn pushed a
series of dts changes to support the IFC6640[1] out of msm8996, and i
thought 5.4 was in a good state for this SoC).

To get a basic set of features working (mmc, ufs, eth, usb, etc), i had
to cherry-pick a couple of patches and config changes from Linaro
4.14[2], and revert an upstream qmp patch:

1) these two cherry-picks from Linaro 4.14 fix the broken mmc[3].

clk: qcom: Drop gcc_aggre1_pnoc_ahb_clk clock
arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core

2) without these =y config changes, UFS refuses to init[4].

arm64: defconfig: PHY_QCOM_QMP=y
arm64: defconfig: PHY_QCOM_QUSB2=y
arm64: defconfig: PHY_QCOM_UFS=y

3) without this upstream revert, pci, ethernet and are wifi dead[5].

Revert "phy: qcom-qmp: Correct ready status, again"

4) with all the above patches applied, msm_drm still complain about
clks, but at least the board is up, running and reachable[6].

Any thoughts from the author of these patches or the ml?
In particular, the =y config changes are bothering me because we
are clearly pushing problems under the rug.

1: https://lkml.org/lkml/2019/10/21/15
2: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/qcomlt-4.14
3: https://pastebin.com/DDHvZD6Q
4: https://pastebin.com/hmPVqNqs
5: https://pastebin.com/fMqtH8u5
6: https://pastebin.com/irGv9Qmb

Amit Pundir (1):
  clk: qcom: Drop gcc_aggre1_pnoc_ahb_clk clock

Manu Gautam (1):
  arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core

Paolo Pisati (4):
  Revert "phy: qcom-qmp: Correct ready status, again"
  arm64: defconfig: PHY_QCOM_QMP=y
  arm64: defconfig: PHY_QCOM_QUSB2=y
  arm64: defconfig: PHY_QCOM_UFS=y

 arch/arm64/boot/dts/qcom/msm8996.dtsi |  4 ++++
 arch/arm64/configs/defconfig          |  5 +++--
 drivers/clk/qcom/gcc-msm8996.c        | 15 ---------------
 drivers/phy/qualcomm/phy-qcom-qmp.c   | 33 +++++++++++++++++----------------
 4 files changed, 24 insertions(+), 33 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2019-12-09 15:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-05 16:14 [PATCH 0/6] msm8996: db820c: Fix mmc/ufs and get 5.4 to userspace Paolo Pisati
2019-12-05 16:15 ` [PATCH 1/6] clk: qcom: Drop gcc_aggre1_pnoc_ahb_clk clock Paolo Pisati
2019-12-09 15:05   ` [PATCH v2] arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core Paolo Pisati
2019-12-09 15:14   ` [PATCH v2] clk: qcom: Drop gcc_aggre1_pnoc_ahb_clk clock Paolo Pisati
2019-12-09 15:14   ` [PATCH 1/6] " Amit Pundir
2019-12-05 16:15 ` [PATCH 2/6] arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core Paolo Pisati
2019-12-07 20:44   ` Bjorn Andersson
2019-12-09 15:15     ` [PATCH v2] " Paolo Pisati
2019-12-05 16:15 ` [PATCH 4/6] arm64: defconfig: PHY_QCOM_QMP=y Paolo Pisati
2019-12-05 16:15 ` [PATCH 5/6] arm64: defconfig: PHY_QCOM_QUSB2=y Paolo Pisati
2019-12-05 16:15 ` [PATCH 6/6] arm64: defconfig: PHY_QCOM_UFS=y Paolo Pisati
2019-12-05 16:15 ` [PATCH 3/6] Revert "phy: qcom-qmp: Correct ready status, again" Paolo Pisati
2019-12-06  7:07   ` Bjorn Andersson
2019-12-06 10:00     ` Paolo Pisati
2019-12-06 19:51       ` Bjorn Andersson
2019-12-07 18:39       ` Bjorn Andersson

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