diff options
author | Borislav Petkov <bp@suse.de> | 2020-06-08 16:19:49 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-06-15 19:25:53 +0200 |
commit | 1068ed4547adf6123504d9623ebd1ffcdd616101 (patch) | |
tree | 7b7e7a3739b1a74a6029c497a26c2bb2de0b5e1c /arch/x86/events | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
x86/msr: Lift AMD family 0x15 power-specific MSRs
... into the global msr-index.h header because they're used in multiple
compilation units. Sort the MSR list a bit. Update the msr-index.h copy
in tools.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lkml.kernel.org/r/20200608164847.14232-1-bp@alien8.de
Diffstat (limited to 'arch/x86/events')
-rw-r--r-- | arch/x86/events/amd/power.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/events/amd/power.c b/arch/x86/events/amd/power.c index 43b09e9c93a2..16a2369c586e 100644 --- a/arch/x86/events/amd/power.c +++ b/arch/x86/events/amd/power.c @@ -13,10 +13,6 @@ #include <asm/cpu_device_id.h> #include "../perf_event.h" -#define MSR_F15H_CU_PWR_ACCUMULATOR 0xc001007a -#define MSR_F15H_CU_MAX_PWR_ACCUMULATOR 0xc001007b -#define MSR_F15H_PTSC 0xc0010280 - /* Event code: LSB 8 bits, passed in attr->config any other bit is reserved. */ #define AMD_POWER_EVENT_MASK 0xFFULL |