x86: msr-index.h: define EPB mid-points
authorLen Brown <len.brown@intel.com>
Sat, 25 Feb 2017 23:18:22 +0000 (18:18 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 25 Feb 2017 23:23:43 +0000 (18:23 -0500)
These are currently open-coded into intel_pstate.c

Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/include/asm/msr-index.h

index 710273c..a92d9bd 100644 (file)
 #define MSR_MISC_PWR_MGMT              0x000001aa
 
 #define MSR_IA32_ENERGY_PERF_BIAS      0x000001b0
-#define ENERGY_PERF_BIAS_PERFORMANCE   0
-#define ENERGY_PERF_BIAS_NORMAL                6
-#define ENERGY_PERF_BIAS_POWERSAVE     15
+#define ENERGY_PERF_BIAS_PERFORMANCE           0
+#define ENERGY_PERF_BIAS_BALANCE_PERFORMANCE   4
+#define ENERGY_PERF_BIAS_NORMAL                        6
+#define ENERGY_PERF_BIAS_BALANCE_POWERSAVE     8
+#define ENERGY_PERF_BIAS_POWERSAVE             15
 
 #define MSR_IA32_PACKAGE_THERM_STATUS          0x000001b1