]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.10.30/intel_pstate-add-haswell-cpu-models.patch
Linux 4.14.112
[thirdparty/kernel/stable-queue.git] / releases / 3.10.30 / intel_pstate-add-haswell-cpu-models.patch
1 From 6cdcdb793791f776ea9408581b1242b636d43b37 Mon Sep 17 00:00:00 2001
2 From: Nell Hardcastle <nell@spicious.com>
3 Date: Sun, 30 Jun 2013 15:58:57 -0700
4 Subject: intel_pstate: Add Haswell CPU models
5
6 From: Nell Hardcastle <nell@spicious.com>
7
8 commit 6cdcdb793791f776ea9408581b1242b636d43b37 upstream.
9
10 Enable the intel_pstate driver for Haswell CPUs. One missing Ivy Bridge
11 model (0x3E) is also included. Models referenced from
12 tools/power/x86/turbostat/turbostat.c:has_nehalem_turbo_ratio_limit
13
14 Signed-off-by: Nell Hardcastle <nell@spicious.com>
15 Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
16 Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
17 Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19
20 ---
21 drivers/cpufreq/intel_pstate.c | 5 +++++
22 1 file changed, 5 insertions(+)
23
24 --- a/drivers/cpufreq/intel_pstate.c
25 +++ b/drivers/cpufreq/intel_pstate.c
26 @@ -523,6 +523,11 @@ static const struct x86_cpu_id intel_pst
27 ICPU(0x2a, default_policy),
28 ICPU(0x2d, default_policy),
29 ICPU(0x3a, default_policy),
30 + ICPU(0x3c, default_policy),
31 + ICPU(0x3e, default_policy),
32 + ICPU(0x3f, default_policy),
33 + ICPU(0x45, default_policy),
34 + ICPU(0x46, default_policy),
35 {}
36 };
37 MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);