diff options
author | Matthew Garrett <mjg@redhat.com> | 2012-09-04 04:28:06 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-09 16:05:02 -0400 |
commit | f594065faf4f9067c2283a34619fc0714e79a98d (patch) | |
tree | c4648afdda2ad77d5ec116855525bbe0aec684db /arch/x86/include/asm/msr-index.h | |
parent | a2060958569a8e8e36202c373a55c458ff84856d (diff) |
ACPI: Add fixups for AMD P-state figures
Some AMD systems may round the frequencies in ACPI tables to 100MHz
boundaries. We can obtain the real frequencies from MSRs, so add a quirk
to fix these frequencies up on AMD systems.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/x86/include/asm/msr-index.h')
-rw-r--r-- | arch/x86/include/asm/msr-index.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index 1e1f3eb58638..fbee9714d9ab 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h | |||
@@ -248,6 +248,7 @@ | |||
248 | 248 | ||
249 | #define MSR_IA32_PERF_STATUS 0x00000198 | 249 | #define MSR_IA32_PERF_STATUS 0x00000198 |
250 | #define MSR_IA32_PERF_CTL 0x00000199 | 250 | #define MSR_IA32_PERF_CTL 0x00000199 |
251 | #define MSR_AMD_PSTATE_DEF_BASE 0xc0010064 | ||
251 | #define MSR_AMD_PERF_STATUS 0xc0010063 | 252 | #define MSR_AMD_PERF_STATUS 0xc0010063 |
252 | #define MSR_AMD_PERF_CTL 0xc0010062 | 253 | #define MSR_AMD_PERF_CTL 0xc0010062 |
253 | 254 | ||