]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/rapl: Move RAPL support to common x86 code
authorStephane Eranian <eranian@google.com>
Wed, 27 May 2020 22:46:55 +0000 (15:46 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 28 May 2020 05:58:55 +0000 (07:58 +0200)
commitfd3ae1e1587d64ef8cc8e361903d33625458073e
tree359c0456139c99cdb68de2a68bac94ab6328e387
parent0bffedbce90818228f554651baf8d7c75f2876d8
perf/x86/rapl: Move RAPL support to common x86 code

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: Stephane Eranian <eranian@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200527224659.206129-2-eranian@google.com
arch/x86/events/Kconfig
arch/x86/events/Makefile
arch/x86/events/intel/Makefile
arch/x86/events/intel/rapl.c [deleted file]
arch/x86/events/rapl.c [new file with mode: 0644]