Skip to content

Commit 4a6772f

Browse files
Vladimir ZapolskiyKAGA-KOKO
authored andcommitted
x86/cpufreq: Remove duplicated TDP MSR macro definitions
The list of CPU model specific registers contains two copies of TDP registers, remove the one, which is out of numerical order in the list. Fixes: 6a35fc2 ("cpufreq: intel_pstate: get P1 from TAR when available") Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Cc: Len Brown <len.brown@intel.com> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> Cc: Kristen Carlson Accardi <kristen@linux.intel.com> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: http://lkml.kernel.org/r/1459018020-24577-1-git-send-email-vladimir_zapolskiy@mentor.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent f7be861 commit 4a6772f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

arch/x86/include/asm/msr-index.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@
190190
#define MSR_PP1_ENERGY_STATUS 0x00000641
191191
#define MSR_PP1_POLICY 0x00000642
192192

193+
/* Config TDP MSRs */
193194
#define MSR_CONFIG_TDP_NOMINAL 0x00000648
194195
#define MSR_CONFIG_TDP_LEVEL_1 0x00000649
195196
#define MSR_CONFIG_TDP_LEVEL_2 0x0000064A
@@ -210,13 +211,6 @@
210211
#define MSR_GFX_PERF_LIMIT_REASONS 0x000006B0
211212
#define MSR_RING_PERF_LIMIT_REASONS 0x000006B1
212213

213-
/* Config TDP MSRs */
214-
#define MSR_CONFIG_TDP_NOMINAL 0x00000648
215-
#define MSR_CONFIG_TDP_LEVEL1 0x00000649
216-
#define MSR_CONFIG_TDP_LEVEL2 0x0000064A
217-
#define MSR_CONFIG_TDP_CONTROL 0x0000064B
218-
#define MSR_TURBO_ACTIVATION_RATIO 0x0000064C
219-
220214
/* Hardware P state interface */
221215
#define MSR_PPERF 0x0000064e
222216
#define MSR_PERF_LIMIT_REASONS 0x0000064f

0 commit comments

Comments
 (0)