mbox series

[V2,0/4] firmware: arm_scmi: Register and handle limits change notification

Message ID 20240117104116.2055349-1-quic_sibis@quicinc.com (mailing list archive)
Headers show
Series firmware: arm_scmi: Register and handle limits change notification | expand

Message

Sibi Sankar Jan. 17, 2024, 10:41 a.m. UTC
This series registers for scmi limits change notifications and adds
perf_notify_support/perf_opp_xlate interfaces which are used by the
scmi cpufreq driver to determine the throttled frequency and apply HW
pressure.

V2:
* Rename opp_xlate -> freq_xlate [Viresh]
* Export cpufreq_update_pressure and use it directly [Lukasz]

Depends on:
HW pressure v4: https://patchwork.kernel.org/project/linux-arm-msm/cover/20240109164655.626085-1-vincent.guittot@linaro.org/

Sibi Sankar (4):
  firmware: arm_scmi: Add perf_notify_support interface
  firmware: arm_scmi: Add perf_freq_xlate interface
  cpufreq: Export cpufreq_update_pressure
  cpufreq: scmi: Register for limit change notifications

 drivers/cpufreq/cpufreq.c        |  3 ++-
 drivers/cpufreq/scmi-cpufreq.c   | 42 +++++++++++++++++++++++++++++++-
 drivers/firmware/arm_scmi/perf.c | 37 ++++++++++++++++++++++++++++
 include/linux/cpufreq.h          |  2 ++
 include/linux/scmi_protocol.h    | 11 +++++++++
 5 files changed, 93 insertions(+), 2 deletions(-)