From: Georgi Djakov <djakov@kernel.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
quic_okukatla@quicinc.com
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v2 00/10] Fix up icc clock rate calculation on some platforms
Date: Fri, 4 Aug 2023 19:31:11 +0300 [thread overview]
Message-ID: <aba1b417-67ad-aec0-03ef-43da925c74da@kernel.org> (raw)
In-Reply-To: <20230726-topic-icc_coeff-v2-0-8c91c6c76076@linaro.org>
Hi Konrad,
On 31.07.23 13:52, Konrad Dybcio wrote:
> Certain platforms require that some buses (or individual nodes) make
> some additional changes to the clock rate formula, throwing in some
> magic, Qualcomm-defined coefficients, to account for "inefficiencies".
Maybe some links to the downstream code would help to better check and
understand this. Adding also Odelu in case he has any comments on the
patches.
Thanks,
Georgi
> Add the framework for it and utilize it on a couple SoCs.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> Changes in v2:
> - Use the (arguably less favourable but necessary for precission) 100/x
> instead of x/100 for ib coefficient, update values in consequent
> patches to reflect that
> - Rename "_percent" to "_coeff" because of /\
> - Add the necessary code to support per-node clocks
> - Add the necessary code to support per-node coefficients
> - Hook up the CPUSS<->GNoC clock on QCM2290
> - Update EBI node on QCM2290
> - Link to v1: https://lore.kernel.org/r/20230726-topic-icc_coeff-v1-0-31616960818c@linaro.org
>
> ---
> Konrad Dybcio (10):
> interconnect: qcom: icc-rpm: Add AB/IB calculations coefficients
> interconnect: qcom: icc-rpm: Separate out clock rate calulcations
> interconnect: qcom: icc-rpm: Let nodes drive their own bus clock
> interconnect: qcom: icc-rpm: Check for node-specific rate coefficients
> interconnect: qcom: qcm2290: Hook up MAS_APPS_PROC's bus clock
> interconnect: qcom: qcm2290: Set AB coefficients
> interconnect: qcom: qcm2290: Update EBI channel configuration
> interconnect: qcom: sdm660: Set AB/IB coefficients
> interconnect: qcom: msm8996: Set AB/IB coefficients
> clk: qcom: smd-rpm: Move CPUSS_GNoC clock to interconnect
>
> drivers/clk/qcom/clk-smd-rpm.c | 16 ++++--
> drivers/interconnect/qcom/icc-rpm-clocks.c | 6 ++
> drivers/interconnect/qcom/icc-rpm.c | 92 ++++++++++++++++++++++++------
> drivers/interconnect/qcom/icc-rpm.h | 15 +++++
> drivers/interconnect/qcom/msm8996.c | 8 ++-
> drivers/interconnect/qcom/qcm2290.c | 9 ++-
> drivers/interconnect/qcom/sdm660.c | 4 ++
> 7 files changed, 124 insertions(+), 26 deletions(-)
> ---
> base-commit: ec89391563792edd11d138a853901bce76d11f44
> change-id: 20230726-topic-icc_coeff-b053d5409b9f
>
> Best regards,
prev parent reply other threads:[~2023-08-04 16:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 10:52 [PATCH v2 00/10] Fix up icc clock rate calculation on some platforms Konrad Dybcio
2023-07-31 10:52 ` [PATCH v2 01/10] interconnect: qcom: icc-rpm: Add AB/IB calculations coefficients Konrad Dybcio
2023-08-01 10:53 ` Stephan Gerhold
2023-07-31 10:52 ` [PATCH v2 02/10] interconnect: qcom: icc-rpm: Separate out clock rate calulcations Konrad Dybcio
2023-07-31 10:52 ` [PATCH v2 03/10] interconnect: qcom: icc-rpm: Let nodes drive their own bus clock Konrad Dybcio
2023-08-01 10:58 ` Stephan Gerhold
2023-08-01 11:29 ` Konrad Dybcio
2023-07-31 10:52 ` [PATCH v2 04/10] interconnect: qcom: icc-rpm: Check for node-specific rate coefficients Konrad Dybcio
2023-08-01 11:01 ` Stephan Gerhold
2023-07-31 10:52 ` [PATCH v2 05/10] interconnect: qcom: qcm2290: Hook up MAS_APPS_PROC's bus clock Konrad Dybcio
2023-07-31 10:52 ` [PATCH v2 06/10] interconnect: qcom: qcm2290: Set AB coefficients Konrad Dybcio
2023-07-31 10:52 ` [PATCH v2 07/10] interconnect: qcom: qcm2290: Update EBI channel configuration Konrad Dybcio
2023-07-31 10:52 ` [PATCH v2 08/10] interconnect: qcom: sdm660: Set AB/IB coefficients Konrad Dybcio
2023-07-31 10:52 ` [PATCH v2 09/10] interconnect: qcom: msm8996: " Konrad Dybcio
2023-07-31 10:52 ` [PATCH v2 10/10] clk: qcom: smd-rpm: Move CPUSS_GNoC clock to interconnect Konrad Dybcio
2023-08-04 16:31 ` Georgi Djakov [this message]
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=aba1b417-67ad-aec0-03ef-43da925c74da@kernel.org \
--to=djakov@kernel.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=mturquette@baylibre.com \
--cc=quic_okukatla@quicinc.com \
--cc=sboyd@kernel.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;
as well as URLs for NNTP newsgroup(s).