diff options
author | Matt Turner <mattst88@gmail.com> | 2018-02-13 11:12:05 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2018-06-01 23:12:45 -0400 |
commit | a00072a24a9f5b88cfc56f2dec6afe8ce3874e60 (patch) | |
tree | 2b642f615e3ea99c218a12e4a5f0f58201748a7f /arch/x86/include | |
parent | e0d34648b4d77ba715e13739d04e7b0692fe5eaa (diff) | |
download | linux-stable-a00072a24a9f5b88cfc56f2dec6afe8ce3874e60.tar.gz linux-stable-a00072a24a9f5b88cfc56f2dec6afe8ce3874e60.tar.bz2 linux-stable-a00072a24a9f5b88cfc56f2dec6afe8ce3874e60.zip |
x86: msr-index.h: Correct SNB_C1/C3_AUTO_UNDEMOTE defines
According to the Intel Software Developers' Manual, Vol. 4, Order No.
335592, these macros have been reversed since they were added in the
initial turbostat commit. The reversed definitions were presumably
copied from turbostat.c to this file.
Fixes: 9c63a650bb10 ("tools/power/x86/turbostat: share kernel MSR #defines")
Signed-off-by: Matt Turner <mattst88@gmail.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/msr-index.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index fda2114197b3..68b2c3150de1 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -62,8 +62,8 @@ #define NHM_C3_AUTO_DEMOTE (1UL << 25) #define NHM_C1_AUTO_DEMOTE (1UL << 26) #define ATM_LNC_C6_AUTO_DEMOTE (1UL << 25) -#define SNB_C1_AUTO_UNDEMOTE (1UL << 27) -#define SNB_C3_AUTO_UNDEMOTE (1UL << 28) +#define SNB_C3_AUTO_UNDEMOTE (1UL << 27) +#define SNB_C1_AUTO_UNDEMOTE (1UL << 28) #define MSR_MTRRcap 0x000000fe |