mbox series

[V3,0/2] firmware: arm_scmi: Register and handle limits change notification

Message ID 20240227181632.659133-1-quic_sibis@quicinc.com
Headers show
Series firmware: arm_scmi: Register and handle limits change notification | expand

Message

Sibi Sankar Feb. 27, 2024, 6:16 p.m. UTC
This series registers for scmi limits change notifications to determine
the throttled frequency and apply HW pressure.

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 v5: https://patchwork.kernel.org/project/linux-arm-msm/cover/20240220145947.1107937-1-vincent.guittot@linaro.org/
boost frequency support: https://patchwork.kernel.org/project/linux-arm-msm/cover/20240227173434.650334-1-quic_sibis@quicinc.com/

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 | 29 ++++++++++++++++++++++++++++-
 include/linux/cpufreq.h        |  2 ++
 3 files changed, 32 insertions(+), 2 deletions(-)