summaryrefslogtreecommitdiffstats
path: root/linux-custom/3.11-haswell-intel_pstate.patch
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-10-05 10:50:07 +0200
committerGravatar Tom Willemse2013-10-05 10:52:19 +0200
commitbfd1c6836978eebb67a02dedef7cb36b818abeac (patch)
tree50e1fb6ccc2b7b3b29a635daf30e4971bf0a2e12 /linux-custom/3.11-haswell-intel_pstate.patch
parentf138f46d6373a606d1f280bf11a12fa60c924cfb (diff)
downloadpkgbuilds-bfd1c6836978eebb67a02dedef7cb36b818abeac.tar.gz
pkgbuilds-bfd1c6836978eebb67a02dedef7cb36b818abeac.zip
Add linux-custom
Diffstat (limited to 'linux-custom/3.11-haswell-intel_pstate.patch')
-rw-r--r--linux-custom/3.11-haswell-intel_pstate.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/linux-custom/3.11-haswell-intel_pstate.patch b/linux-custom/3.11-haswell-intel_pstate.patch
new file mode 100644
index 0000000..1f376b5
--- /dev/null
+++ b/linux-custom/3.11-haswell-intel_pstate.patch
@@ -0,0 +1,32 @@
+From 6cdcdb793791f776ea9408581b1242b636d43b37 Mon Sep 17 00:00:00 2001
+From: Nell Hardcastle <nell@spicious.com>
+Date: Sun, 30 Jun 2013 22:58:57 +0000
+Subject: 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
+
+Signed-off-by: Nell Hardcastle <nell@spicious.com>
+Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
+Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
+Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
+---
+diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
+index 6efd96c..9733f29 100644
+--- a/drivers/cpufreq/intel_pstate.c
++++ b/drivers/cpufreq/intel_pstate.c
+@@ -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);
+--
+cgit v0.9.2