linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] SCMI performance protocol power scale interface
@ 2020-11-24 10:43 Lukasz Luba
  2020-11-24 10:43 ` [PATCH 1/2] firmware: arm_scmi: Add power_scale_mw_get() interface Lukasz Luba
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Lukasz Luba @ 2020-11-24 10:43 UTC (permalink / raw)
  To: linux-kernel, sudeep.holla, linux-arm-kernel, linux-pm
  Cc: rafael, viresh.kumar, morten.rasmussen, lukasz.luba,
	Dietmar.Eggemann, cristian.marussi

Hi all,

The Energy Model (EM) supports power values expressed in an abstract scale
via new API. The SCMI performance protocol provides the information about
power scale. This patch set implements the needed interface and updates
cpufreq driver to set the right scale in the EM.

It is based on top of patch series adding milli-Watts flag in EM [1]
(next-20201124 was used as a base).

Regards,
Lukasz

[1] https://lore.kernel.org/linux-pm/20201103090600.29053-1-lukasz.luba@arm.com/

Lukasz Luba (2):
  firmware: arm_scmi: Add power_scale_mw_get() interface
  cpufreq: arm_scmi: Discover the power scale in performance protocol

 drivers/cpufreq/scmi-cpufreq.c   | 4 +++-
 drivers/firmware/arm_scmi/perf.c | 8 ++++++++
 include/linux/scmi_protocol.h    | 1 +
 3 files changed, 12 insertions(+), 1 deletion(-)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-12-08  8:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-24 10:43 [PATCH 0/2] SCMI performance protocol power scale interface Lukasz Luba
2020-11-24 10:43 ` [PATCH 1/2] firmware: arm_scmi: Add power_scale_mw_get() interface Lukasz Luba
2020-11-24 16:56   ` Sudeep Holla
2020-11-25  9:18     ` Lukasz Luba
2020-11-24 10:43 ` [PATCH 2/2] cpufreq: arm_scmi: Discover the power scale in performance protocol Lukasz Luba
2020-11-25  9:29 ` [PATCH 0/2] SCMI performance protocol power scale interface Lukasz Luba
2020-12-07  7:13 ` Viresh Kumar
2020-12-08  4:48   ` Viresh Kumar
2020-12-08  8:36     ` Lukasz Luba

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).