All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] cpufreq: cppc: Add support for frequency invariance
@ 2020-07-09 10:13 ` Viresh Kumar
  0 siblings, 0 replies; 27+ messages in thread
From: Viresh Kumar @ 2020-07-09 10:13 UTC (permalink / raw)
  To: Ben Segall, Catalin Marinas, Dietmar Eggemann,
	Greg Kroah-Hartman, Ingo Molnar, Juri Lelli, Mel Gorman,
	Peter Zijlstra, Rafael J. Wysocki, Rafael J. Wysocki,
	Steven Rostedt, Sudeep Holla, Vincent Guittot, Viresh Kumar,
	Will Deacon
  Cc: Ionela Voinescu, Peter Puhov, linux-arm-kernel, linux-kernel, linux-pm

Hello,

CPPC cpufreq driver is used for ARM servers and this patch series tries
to provide frequency invariance support for them. The same is also
provided using a specific hardware extension, known as AMU (Activity
Monitors Unit), but that is optional for platforms and at least few of
them don't have it.

This patchset allows multiple parts of the kernel to provide the same
functionality, by registering with the topology core.

This is tested with some hacks, as I didn't have access to the right
hardware, on the ARM64 hikey board to check the overall functionality
and that works fine.

Ionela/Peter Puhov, it would be nice if you guys can give this a shot.

This is based of my cpufreq/arm/linux-next branch (should work on
linux-next too) + a cleanup patch [1] that i sent this morning.

--
viresh

[1] https://lore.kernel.org/lkml/a710fc4e4e0f1d2e561320130b99bcb5167d73b4.1594277563.git.viresh.kumar@linaro.org/

Viresh Kumar (3):
  arm64: topology: Add amu_counters_supported() helper
  topology: Provide generic implementation of
    arch_freq_counters_available()
  cpufreq: cppc: Add support for frequency invariance

 arch/arm64/include/asm/topology.h |   7 --
 arch/arm64/kernel/topology.c      | 165 +++++++++++++++---------------
 drivers/base/arch_topology.c      |  43 +++++++-
 drivers/cpufreq/cppc_cpufreq.c    | 138 ++++++++++++++++++++++++-
 include/linux/arch_topology.h     |   5 +-
 kernel/sched/core.c               |   1 +
 6 files changed, 263 insertions(+), 96 deletions(-)

-- 
2.25.0.rc1.19.g042ed3e048af


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

end of thread, other threads:[~2020-10-05 23:18 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 10:13 [RFC 0/3] cpufreq: cppc: Add support for frequency invariance Viresh Kumar
2020-07-09 10:13 ` Viresh Kumar
2020-07-09 10:13 ` [RFC 1/3] arm64: topology: Add amu_counters_supported() helper Viresh Kumar
2020-07-09 10:13   ` Viresh Kumar
2020-07-09 10:13 ` [RFC 2/3] topology: Provide generic implementation of arch_freq_counters_available() Viresh Kumar
2020-07-09 10:13   ` Viresh Kumar
2020-07-09 10:13 ` [RFC 3/3] cpufreq: cppc: Add support for frequency invariance Viresh Kumar
2020-07-09 12:43 ` [RFC 0/3] " Ionela Voinescu
2020-07-09 12:43   ` Ionela Voinescu
2020-07-10  3:00   ` Viresh Kumar
2020-07-10  3:00     ` Viresh Kumar
2020-07-24  9:38     ` Vincent Guittot
2020-07-24  9:38       ` Vincent Guittot
2020-08-24 10:49       ` Viresh Kumar
2020-08-24 10:49         ` Viresh Kumar
2020-08-25  9:56       ` Ionela Voinescu
2020-08-25  9:56         ` Ionela Voinescu
2020-08-27  7:51         ` Viresh Kumar
2020-08-27  7:51           ` Viresh Kumar
2020-08-27 11:27           ` Ionela Voinescu
2020-08-27 11:27             ` Ionela Voinescu
2020-08-31 11:26             ` Viresh Kumar
2020-08-31 11:26               ` Viresh Kumar
2020-10-05  7:58             ` Viresh Kumar
2020-10-05  7:58               ` Viresh Kumar
2020-10-05 23:16               ` Ionela Voinescu
2020-10-05 23:16                 ` Ionela Voinescu

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.