linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/2] firmware: arm_scmi: Register and handle limits change notification
@ 2024-03-28  7:41 Sibi Sankar
  2024-03-28  7:41 ` [PATCH V4 1/2] cpufreq: Export cpufreq_update_pressure Sibi Sankar
  2024-03-28  7:41 ` [PATCH V4 2/2] cpufreq: scmi: Register for limit change notifications Sibi Sankar
  0 siblings, 2 replies; 9+ messages in thread
From: Sibi Sankar @ 2024-03-28  7:41 UTC (permalink / raw)
  To: sudeep.holla, cristian.marussi, rafael, viresh.kumar,
	morten.rasmussen, dietmar.eggemann, lukasz.luba, pierre.gondois
  Cc: linux-arm-kernel, linux-pm, linux-kernel, quic_mdtipton,
	linux-arm-msm, Sibi Sankar

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-06-03 18:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-28  7:41 [PATCH V4 0/2] firmware: arm_scmi: Register and handle limits change notification Sibi Sankar
2024-03-28  7:41 ` [PATCH V4 1/2] cpufreq: Export cpufreq_update_pressure Sibi Sankar
2024-03-28  7:41 ` [PATCH V4 2/2] cpufreq: scmi: Register for limit change notifications Sibi Sankar
2024-03-28  8:06   ` Lukasz Luba
2024-05-01  8:21   ` Cristian Marussi
2024-05-01  8:26     ` Cristian Marussi
2024-05-14  9:40     ` Sibi Sankar
2024-05-28  9:08   ` Vincent Guittot
2024-06-03 18:48     ` Sibi Sankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).