mbox series

[0/3] Add changes to support 'HW solver' mode in rpmh driver

Message ID 1606385898-8609-1-git-send-email-mkshah@codeaurora.org (mailing list archive)
Headers show
Series Add changes to support 'HW solver' mode in rpmh driver | expand

Message

Maulik Shah Nov. 26, 2020, 10:18 a.m. UTC
RSC controllers may be in 'HW solver' state, where they could be in
autonomous mode executing low power modes for their hardware and as
such are not available for sending active votes.

This series adds changes to support the same in rpmh driver by disallowing
active requests when in solver mode and allowing the drivers to write
cached sleep and wake votes immediately.

Note: The series can land on its own but to avoid conflicts with
other change going in rpmh driver i have based changes on top of [1]
which hopefully can land soon.

[1] https://patchwork.kernel.org/project/linux-arm-msm/patch/1606379490-4052-1-git-send-email-mkshah@codeaurora.org

Lina Iyer (1):
  drivers: qcom: rpmh: Disallow active requests in solver mode

Maulik Shah (2):
  soc: qcom: rpmh: Add rpmh_write_sleep_and_wake() function
  soc: qcom: rpmh: Conditionally check lockdep_assert_irqs_disabled()

 drivers/soc/qcom/rpmh-internal.h | 10 ++++
 drivers/soc/qcom/rpmh-rsc.c      | 34 ++++++++++++++
 drivers/soc/qcom/rpmh.c          | 98 ++++++++++++++++++++++++++++++++++++++--
 drivers/soc/qcom/trace-rpmh.h    | 20 ++++++++
 include/soc/qcom/rpmh.h          | 10 ++++
 5 files changed, 168 insertions(+), 4 deletions(-)