[PATCH V2 0/4] firmware: arm_scmi: Register and handle limits change notification
From: Sibi Sankar
Date: Wed Jan 17 2024 - 05:45:43 EST
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@xxxxxxxxxx/
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(-)
--
2.34.1