Resource State Coordinator (RSC) is responsible for powering off/lowering
the requirements from CPU subsystem for the associated hardware like buses,
clocks, and regulators when all CPUs and cluster is powered down.
RSC power domain uses last-man activities provided by genpd framework based on
Ulf Hansoon's patch series[1], when the cluster of CPUs enter deepest idle
states. As a part of domain poweroff, RSC can lower resource state requirements
by flushing the cached sleep and wake state votes for resources.
Dependencies:
[1] https://lkml.org/lkml/2019/5/13/839
Maulik Shah (4):
drivers: qcom: rpmh: fix macro to accept NULL argument
drivers: qcom: rpmh: remove rpmh_flush export
dt-bindings: soc: qcom: Add RSC power domain specifier
drivers: qcom: rpmh-rsc: Add RSC power domain support
.../devicetree/bindings/soc/qcom/rpmh-rsc.txt | 7 ++
drivers/soc/qcom/rpmh-internal.h | 3 +
drivers/soc/qcom/rpmh-rsc.c | 96 +++++++++++++++++++
drivers/soc/qcom/rpmh.c | 22 ++---
include/soc/qcom/rpmh.h | 5 -
5 files changed, 116 insertions(+), 17 deletions(-)
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation.
Quoting Maulik Shah (2019-08-13 01:24:38)
> Resource State Coordinator (RSC) is responsible for powering off/lowering
> the requirements from CPU subsystem for the associated hardware like buses,
> clocks, and regulators when all CPUs and cluster is powered down.
>
> RSC power domain uses last-man activities provided by genpd framework based on
> Ulf Hansoon's patch series[1], when the cluster of CPUs enter deepest idle
> states. As a part of domain poweroff, RSC can lower resource state requirements
> by flushing the cached sleep and wake state votes for resources.
This series looks like half the solution. Is there a full set of patches
that connects the RPMh power domain to cpuidle and genpds?
On 8/14/2019 11:49 PM, Stephen Boyd wrote:
> Quoting Maulik Shah (2019-08-13 01:24:38)
>> Resource State Coordinator (RSC) is responsible for powering off/lowering
>> the requirements from CPU subsystem for the associated hardware like buses,
>> clocks, and regulators when all CPUs and cluster is powered down.
>>
>> RSC power domain uses last-man activities provided by genpd framework based on
>> Ulf Hansoon's patch series[1], when the cluster of CPUs enter deepest idle
>> states. As a part of domain poweroff, RSC can lower resource state requirements
>> by flushing the cached sleep and wake state votes for resources.
> This series looks like half the solution. Is there a full set of patches
> that connects the RPMh power domain to cpuidle and genpds?
Yes, i will include in next version.
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation