[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAA8EJppOWvk5YcNZy6qttfCX4eEiz3eENvnV2HMKecTZMLDhZw@mail.gmail.com>
Date: Sat, 10 Dec 2022 23:52:37 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Konrad Dybcio <konrad.dybcio@...aro.org>
Cc: linux-arm-msm@...r.kernel.org, andersson@...nel.org,
agross@...nel.org, krzysztof.kozlowski@...aro.org,
marijn.suijten@...ainline.org, Georgi Djakov <djakov@...nel.org>,
Yassine Oudjana <y.oudjana@...tonmail.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/5] interconnect: qcom: msm8996: Provide UFS clocks to A2NoC
On Sat, 10 Dec 2022 at 23:04, Konrad Dybcio <konrad.dybcio@...aro.org> wrote:
>
> On eMMC devices the bootloader has no business enabling UFS clocks.
> That results in a platform hang and hard reboot when trying to vote
> on paths including MASTER_UFS and since sync_state guarantees that
> it's done at boot time, this effectively prevents such devices from
> booting. Fix that.
The vendor kernel separates bus clocks and QoS clocks, so there is
possibly room for improvement.
Anyway:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
>
> Fixes: 7add937f5222 ("interconnect: qcom: Add MSM8996 interconnect provider driver")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@...aro.org>
> ---
> drivers/interconnect/qcom/msm8996.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/interconnect/qcom/msm8996.c b/drivers/interconnect/qcom/msm8996.c
> index c2903ae3b3bc..7ddb1f23fb2a 100644
> --- a/drivers/interconnect/qcom/msm8996.c
> +++ b/drivers/interconnect/qcom/msm8996.c
> @@ -33,6 +33,13 @@ static const char * const bus_a0noc_clocks[] = {
> "aggre0_noc_mpu_cfg"
> };
>
> +static const char * const bus_a2noc_clocks[] = {
> + "bus",
> + "bus_a",
> + "aggre2_ufs_axi",
> + "ufs_axi"
> +};
> +
> static const u16 mas_a0noc_common_links[] = {
> MSM8996_SLAVE_A0NOC_SNOC
> };
> @@ -1859,6 +1866,8 @@ static const struct qcom_icc_desc msm8996_a2noc = {
> .type = QCOM_ICC_NOC,
> .nodes = a2noc_nodes,
> .num_nodes = ARRAY_SIZE(a2noc_nodes),
> + .clocks = bus_a2noc_clocks,
> + .num_clocks = ARRAY_SIZE(bus_a2noc_clocks),
> .regmap_cfg = &msm8996_a2noc_regmap_config
> };
>
> --
> 2.38.1
>
--
With best wishes
Dmitry
Powered by blists - more mailing lists