All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3]  scmi-cpufreq: Set transition_delay_us
@ 2024-02-22 13:56 ` Pierre Gondois
  0 siblings, 0 replies; 24+ messages in thread
From: Pierre Gondois @ 2024-02-22 13:56 UTC (permalink / raw)
  To: linux-kernel
  Cc: Cristian Marussi, Christian Loehle, Ionela Voinescu, Sudeep Holla,
	Dietmar Eggemann, Pierre Gondois, Rafael J. Wysocki, Viresh Kumar,
	linux-arm-kernel, linux-pm

policy's fields definitions:
`transition_delay_us`:
The minimum amount of time between two consecutive freq. requests
for one policy.
`transition_latency`:
Delta between freq. change request and effective freq. change on
the hardware.

cpufreq_policy_transition_delay_us() uses the `transition_delay_us`
value if available. Otherwise a value is induced from the policy's
`transition_latency`.

The scmi-cpufreq driver doesn't populate the `transition_delay_us`.
Values matching the definition are available through the SCMI
specification.
Add support to fetch these values and use them in the scmi-cpufreq
driver.

Pierre Gondois (3):
  firmware: arm_scmi: Populate perf commands rate_limit
  firmware: arm_scmi: Populate fast channel rate_limit
  cpufreq: scmi: Set transition_delay_us

 drivers/cpufreq/scmi-cpufreq.c        | 26 +++++++++++++
 drivers/firmware/arm_scmi/driver.c    |  5 ++-
 drivers/firmware/arm_scmi/perf.c      | 53 +++++++++++++++++++++++++--
 drivers/firmware/arm_scmi/powercap.c  | 12 ++++--
 drivers/firmware/arm_scmi/protocols.h |  4 +-
 include/linux/scmi_protocol.h         |  8 ++++
 6 files changed, 98 insertions(+), 10 deletions(-)

-- 
2.25.1


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

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

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-22 13:56 [PATCH 0/3] scmi-cpufreq: Set transition_delay_us Pierre Gondois
2024-02-22 13:56 ` Pierre Gondois
2024-02-22 13:56 ` [PATCH 1/3] firmware: arm_scmi: Populate perf commands rate_limit Pierre Gondois
2024-02-22 13:56   ` Pierre Gondois
2024-03-04  7:55   ` Cristian Marussi
2024-03-04  7:55     ` Cristian Marussi
2024-03-05 11:47   ` Sudeep Holla
2024-03-05 11:47     ` Sudeep Holla
2024-02-22 13:57 ` [PATCH 2/3] firmware: arm_scmi: Populate fast channel rate_limit Pierre Gondois
2024-02-22 13:57   ` Pierre Gondois
2024-03-04  8:00   ` Cristian Marussi
2024-03-04  8:00     ` Cristian Marussi
2024-03-05 11:46   ` Sudeep Holla
2024-03-05 11:46     ` Sudeep Holla
2024-02-22 13:57 ` [PATCH 3/3] cpufreq: scmi: Set transition_delay_us Pierre Gondois
2024-02-22 13:57   ` Pierre Gondois
2024-03-04  8:15   ` Cristian Marussi
2024-03-04  8:15     ` Cristian Marussi
2024-03-04  7:00 ` [PATCH 0/3] scmi-cpufreq: " Viresh Kumar
2024-03-04  7:00   ` Viresh Kumar
2024-03-04 11:42   ` Sudeep Holla
2024-03-04 11:42     ` Sudeep Holla
2024-03-06  5:24     ` Viresh Kumar
2024-03-06  5:24       ` Viresh Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.