From: Paolo Pisati <p.pisati@gmail.com>
To: Andy Gross <agross@kernel.org>,
Amit Pundir <amit.pundir@linaro.org>,
Manu Gautam <mgautam@codeaurora.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Subject: [PATCH 0/6] msm8996: db820c: Fix mmc/ufs and get 5.4 to userspace
Date: Thu, 5 Dec 2019 17:14:59 +0100 [thread overview]
Message-ID: <20191205161505.15295-1-p.pisati@gmail.com> (raw)
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
next reply other threads:[~2019-12-05 16:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-05 16:14 Paolo Pisati [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191205161505.15295-1-p.pisati@gmail.com \
--to=p.pisati@gmail.com \
--cc=agross@kernel.org \
--cc=amit.pundir@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=mgautam@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox