Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 5f121ba6 authored by Stephane Eranian's avatar Stephane Eranian Committed by Greg Kroah-Hartman
Browse files

perf/x86/rapl: Move RAPL support to common x86 code

[ Upstream commit fd3ae1e1

 ]

To prepare for support of both Intel and AMD RAPL.

As per the AMD PPR, Fam17h support Package RAPL counters to monitor power usage.
The RAPL counter operates as with Intel RAPL, and as such it is beneficial
to share the code.

No change in functionality.

Signed-off-by: default avatarStephane Eranian <eranian@google.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200527224659.206129-2-eranian@google.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 14e8708f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment