[PATCH RESEND v3 0/3] drivers/qcom: add additional functionality to RPMH
From: Raju P.L.S.S.S.N
Date: Tue Oct 09 2018 - 02:36:22 EST
- removed unnecessary new line in patch 3. sorry for resend
Changes in v3:
- Simplify TCS locking - added a new patch
- Add lock check to avoid potential race as suggested by Matthias
- Add functionality to RSC controller to disallow active requests
if solver mode is not set
- Removed independent patches and posted as separate series
Changes in v2:
- Remove unnecessary EXPORT_SYMBOL in rpmh-rsc
This set of patches add additional functionality to RPMH drivers.
PM drivers can choose to disallow idle modes when RSC controller is busy
sending or processing requests. The patches add necessary functions to
query the controller status.
The controllers may be in '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. Functionality to get notified about
such state and disallow requests for state change in that case is added
in these patches.
Please consider reviewing this patchset.
This series is based on other patchset
Lina Iyer (2):
drivers: qcom: rpmh-rsc: return if the controller is idle
drivers: qcom: rpmh: disallow active requests in solver mode
Raju P.L.S.S.S.N (1):
drivers: qcom: rpmh-rsc: simplify TCS locking
drivers/soc/qcom/rpmh-internal.h | 8 +++-
drivers/soc/qcom/rpmh-rsc.c | 91 +++++++++++++++++++++++++++++-----------
drivers/soc/qcom/rpmh.c | 84 +++++++++++++++++++++++++++++++------
include/soc/qcom/rpmh.h | 10 +++++
4 files changed, 155 insertions(+), 38 deletions(-)
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of the Code Aurora Forum, hosted by The Linux Foundation.