From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Shawn Guo <shawn.guo@linaro.org>, Georgi Djakov <djakov@kernel.org>
Cc: AngeloGioacchino Del Regno
<angelogioacchino.delregno@somainline.org>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH v2 2/3] interconnect: qcom: sdm660: Add missing a2noc qos clocks
Date: Fri, 24 Sep 2021 09:33:05 -0500 [thread overview]
Message-ID: <YU3hoXHap5DsjTOm@builder.lan> (raw)
In-Reply-To: <20210824043435.23190-3-shawn.guo@linaro.org>
On Mon 23 Aug 23:34 CDT 2021, Shawn Guo wrote:
> It adds the missing a2noc clocks required for QoS registers programming
> per downstream kernel[1]. Otherwise, qcom_icc_noc_set_qos_priority()
> call on mas_ufs or mas_usb_hs node will simply result in a hardware hang
> on SDM660 SoC.
>
> [1] https://source.codeaurora.org/quic/la/kernel/msm-4.4/tree/arch/arm/boot/dts/qcom/sdm660-bus.dtsi?h=LA.UM.8.2.r1-04800-sdm660.0#n43
>
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
> Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Georgi, do you intend to pull this patch in for v5.15-rc?
I.e. should I pick up the dts change for v5.15 as well.
Regards,
Bjorn
> ---
> drivers/interconnect/qcom/sdm660.c | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/drivers/interconnect/qcom/sdm660.c b/drivers/interconnect/qcom/sdm660.c
> index c89c991a80a0..661eb3635d21 100644
> --- a/drivers/interconnect/qcom/sdm660.c
> +++ b/drivers/interconnect/qcom/sdm660.c
> @@ -174,6 +174,16 @@ static const struct clk_bulk_data bus_mm_clocks[] = {
> { .id = "iface" },
> };
>
> +static const struct clk_bulk_data bus_a2noc_clocks[] = {
> + { .id = "bus" },
> + { .id = "bus_a" },
> + { .id = "ipa" },
> + { .id = "ufs_axi" },
> + { .id = "aggre2_ufs_axi" },
> + { .id = "aggre2_usb3_axi" },
> + { .id = "cfg_noc_usb2_axi" },
> +};
> +
> /**
> * struct qcom_icc_provider - Qualcomm specific interconnect provider
> * @provider: generic interconnect provider
> @@ -811,6 +821,10 @@ static int qnoc_probe(struct platform_device *pdev)
> qp->bus_clks = devm_kmemdup(dev, bus_mm_clocks,
> sizeof(bus_mm_clocks), GFP_KERNEL);
> qp->num_clks = ARRAY_SIZE(bus_mm_clocks);
> + } else if (of_device_is_compatible(dev->of_node, "qcom,sdm660-a2noc")) {
> + qp->bus_clks = devm_kmemdup(dev, bus_a2noc_clocks,
> + sizeof(bus_a2noc_clocks), GFP_KERNEL);
> + qp->num_clks = ARRAY_SIZE(bus_a2noc_clocks);
> } else {
> if (of_device_is_compatible(dev->of_node, "qcom,sdm660-bimc"))
> qp->is_bimc_node = true;
> --
> 2.17.1
>
next prev parent reply other threads:[~2021-09-24 14:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-24 4:34 [PATCH v2 0/3] Add missing A2NoC QoS clocks for SDM660 interconnect driver Shawn Guo
2021-08-24 4:34 ` [PATCH v2 1/3] dt-bindings: interconnect: sdm660: Add missing a2noc qos clocks Shawn Guo
2021-08-24 16:54 ` Rob Herring
2021-09-01 14:55 ` AngeloGioacchino Del Regno
2021-08-24 4:34 ` [PATCH v2 2/3] interconnect: qcom: " Shawn Guo
2021-09-01 15:00 ` AngeloGioacchino Del Regno
2021-09-24 14:33 ` Bjorn Andersson [this message]
2021-09-24 14:58 ` Georgi Djakov
2021-09-24 15:20 ` Bjorn Andersson
2021-08-24 4:34 ` [PATCH v2 3/3] arm64: dts: qcom: sdm630: " Shawn Guo
2021-09-01 15:01 ` AngeloGioacchino Del Regno
2021-09-24 13:15 ` Georgi Djakov
2021-09-24 22:44 ` (subset) " 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=YU3hoXHap5DsjTOm@builder.lan \
--to=bjorn.andersson@linaro.org \
--cc=angelogioacchino.delregno@somainline.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=shawn.guo@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.