Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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 fd3ae1e1587d64ef8cc8e361903d33625458073e ]

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment