[PATCH V4 0/2] firmware: arm_scmi: Register and handle limits change notification

Sibi Sankar quic_sibis at quicinc.com
Thu Mar 28 00:41:29 PDT 2024


This series registers for scmi limits change notifications to determine
the throttled frequency and apply HW pressure.

V4:
* Use EXPORT_SYMBOL_GPL instead. [Trilok]
* Use a interim variable to show the khz calc. [Lukasz]
* Use driver_data to pass on the handle and scmi_dev instead of using
  global variables. Dropped Lukasz's Rb due to adding these minor
  changes.

V3:
* Sanitize range_max received from the notifier. [Pierre]
* Drop patches 1/2 from v2. [Cristian]
* Update commit message in patch 2.

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

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

Sibi Sankar (2):
  cpufreq: Export cpufreq_update_pressure
  cpufreq: scmi: Register for limit change notifications

 drivers/cpufreq/cpufreq.c      |  3 ++-
 drivers/cpufreq/scmi-cpufreq.c | 44 ++++++++++++++++++++++++++++++++++
 include/linux/cpufreq.h        |  2 ++
 3 files changed, 48 insertions(+), 1 deletion(-)

-- 
2.34.1




More information about the linux-arm-kernel mailing list