intel_pstate: Add Haswell CPU models
Subsystems (2)
PATCH v2 1/1 intel_pstate: Add Haswell CPU models
Enable the intel_pstate driver for Haswell CPUs. One missing Ivy Bridge model (0x3E) is also included. Models referenced from tools/power/x86/turbostat/turbostat.c:has_nehalem_turbo_ratio_limit
Acked-by Viresh Kumar <[email protected]>
Signed-off-by Nell Hardcastle <[email protected]>
--- drivers/cpufreq/intel_pstate.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/cpufreq/intel_pstate.c +5 -0
@@ -522,6 +522,11 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {ICPU (0x2a , default_policy),ICPU (0x2d , default_policy),ICPU (0x3a , default_policy), +ICPU (0x3c , default_policy), +ICPU (0x3e , default_policy), +ICPU (0x3f , default_policy), +ICPU (0x45 , default_policy), + ICPU(0x46, default_policy), {} };MODULE_DEVICE_TABLE (x86cpu, intel_pstate_cpu_ids);
Signature · 1 line
1.8.3.1
Quoted 4 lines · Nell Hardcastle
Enable the
intel_pstatedriver for Haswell CPUs. One missing Ivy Bridge model (0x3E) is also included. Models referenced from tools/power/x86/turbostat/turbostat.c:has_nehalem_turbo_ratio_limit
Acked-by Dirk Brandewie <[email protected]>
Quoted 23 lines
Acked-by Viresh Kumar <[email protected]>Signed-off-by Nell Hardcastle <[email protected]>--- drivers/cpufreq/intel_pstate.c | 5 +++++ 1 file changed, 5 insertions(+)drivers/cpufreq/intel_pstate.c +5
-0@@ -522,6 +522,11 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {ICPU (0x2a , default_policy),ICPU (0x2d , default_policy),ICPU (0x3a , default_policy), +ICPU (0x3c , default_policy), +ICPU (0x3e , default_policy), +ICPU (0x3f , default_policy), +ICPU (0x45 , default_policy), + ICPU(0x46, default_policy), {} };MODULE_DEVICE_TABLE (x86cpu, intel_pstate_cpu_ids);