From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Maulik Shah <quic_mkshah@quicinc.com>,
bjorn.andersson@linaro.org, ulf.hansson@linaro.org
Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, rafael@kernel.org,
daniel.lezcano@linaro.org, quic_lsrao@quicinc.com,
quic_rjendra@quicinc.com
Subject: Re: [PATCH v2 0/6] Add APSS RSC to Cluster power domain
Date: Mon, 4 Jul 2022 19:09:43 +0300 [thread overview]
Message-ID: <07c29682-41d7-5624-b08a-35dd0c223d1e@linaro.org> (raw)
In-Reply-To: <1652275016-13423-1-git-send-email-quic_mkshah@quicinc.com>
On 11/05/2022 16:16, Maulik Shah wrote:
> Changes in v2:
> - First four changes from v1 are already in linux-next, drop them
> - Update dt-bindings change to yaml format
> - Address Ulf's comments from v1 patches
>
> This series patches 1 to 4 adds/corrects the cpuidle states/
> apps_rsc TCS configuration to make it same as downstream kernel.
>
> The patches 5, 6 and 7 adds apps_rsc device to cluster power domain such
> that when cluster is going to power down the cluster pre off notification
> will program the 'sleep' and 'wake' votes in SLEEP TCS and WAKE TCSes.
>
> The patches 8, 9 and 10 are to program the next wakeup in CONTROL_TCS.
>
> [1], [2] was older way of programming CONTROL_TCS (exporting an API and
> calling when last CPU was entering deeper low power mode). Now with patch
> number 5,6 and 7 the apps RSC is added to to cluster power domain and hence
> these patches are no longer needed with this series.
>
> The series is tested on SM8250 with latest linux-next tag next-20220107.
>
> [1] https://patchwork.kernel.org/project/linux-arm-msm/patch/20190218140210.14631-3-rplsssn@codeaurora.org/
> [2] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=59613
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> # SM8450
Also please note, that these patches fix the regression on sm8[1234]50,
which dates back to 5.18 (because the dts parts were merged at that
point). Amit has responded rpmh clock timeouts on RB5. On SM8450 we
observed random board stalls. Could you please describe this in the
cover letter and follow the process described in stable-kernel-rules.rst
to get these patches backported into 5.18/5.19. It would be critical to
get them in through the stable queue.
>
> Lina Iyer (1):
> soc: qcom: rpmh-rsc: Attach RSC to cluster PM domain
>
> Maulik Shah (5):
> dt-bindings: soc: qcom: Update devicetree binding document for
> rpmh-rsc
> arm64: dts: qcom: Add power-domains property for apps_rsc
> PM: domains: Store the closest hrtimer event of the domain CPUs
> soc: qcom: rpmh-rsc: Save base address of drv
> soc: qcom: rpmh-rsc: Write CONTROL_TCS with next timer wakeup
>
> .../bindings/soc/qcom/qcom,rpmh-rsc.yaml | 5 +
> arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 +
> arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 +
> arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 +
> arch/arm64/boot/dts/qcom/sm8450.dtsi | 1 +
> drivers/base/power/domain.c | 24 ++++
> drivers/base/power/domain_governor.c | 1 +
> drivers/soc/qcom/rpmh-internal.h | 9 +-
> drivers/soc/qcom/rpmh-rsc.c | 146 +++++++++++++++++++--
> drivers/soc/qcom/rpmh.c | 4 +-
> include/linux/pm_domain.h | 7 +
> 11 files changed, 184 insertions(+), 16 deletions(-)
>
--
With best wishes
Dmitry
prev parent reply other threads:[~2022-07-04 16:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-11 13:16 [PATCH v2 0/6] Add APSS RSC to Cluster power domain Maulik Shah
2022-05-11 13:16 ` [PATCH v2 1/6] dt-bindings: soc: qcom: Update devicetree binding document for rpmh-rsc Maulik Shah
2022-05-17 14:21 ` Rob Herring
2022-05-19 13:01 ` Ulf Hansson
2022-05-11 13:16 ` [PATCH v2 2/6] soc: qcom: rpmh-rsc: Attach RSC to cluster PM domain Maulik Shah
2022-05-19 13:11 ` Ulf Hansson
2022-05-11 13:16 ` [PATCH v2 3/6] arm64: dts: qcom: Add power-domains property for apps_rsc Maulik Shah
2022-05-11 13:16 ` [PATCH v2 4/6] PM: domains: Store the closest hrtimer event of the domain CPUs Maulik Shah
2022-05-19 12:56 ` Ulf Hansson
2022-06-29 4:26 ` Bjorn Andersson
2022-05-11 13:16 ` [PATCH v2 5/6] soc: qcom: rpmh-rsc: Save base address of drv Maulik Shah
2022-05-11 13:16 ` [PATCH v2 6/6] soc: qcom: rpmh-rsc: Write CONTROL_TCS with next timer wakeup Maulik Shah
2022-05-20 9:39 ` Ulf Hansson
2022-06-08 9:36 ` Ulf Hansson
2022-07-04 16:09 ` Dmitry Baryshkov [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=07c29682-41d7-5624-b08a-35dd0c223d1e@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=daniel.lezcano@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=quic_lsrao@quicinc.com \
--cc=quic_mkshah@quicinc.com \
--cc=quic_rjendra@quicinc.com \
--cc=rafael@kernel.org \
--cc=ulf.hansson@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 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).