summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-xen/3.11-haswell-intel_pstate.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-26 15:41:19 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-26 15:41:19 -0300
commitea4e2aab558fcea86a9aae9a8145c9471eba3863 (patch)
tree53bfdd049b76046e1c5e2f39c70de9f4a03e2775 /kernels/linux-libre-xen/3.11-haswell-intel_pstate.patch
parent74b75f60da682fa0294928c0ed0e327c92e429e3 (diff)
parent98260c7b24558dc4b14df66c1b87fdf34a3d7dde (diff)
downloadabslibre-ea4e2aab558fcea86a9aae9a8145c9471eba3863.tar.gz
abslibre-ea4e2aab558fcea86a9aae9a8145c9471eba3863.tar.bz2
abslibre-ea4e2aab558fcea86a9aae9a8145c9471eba3863.zip
Merge branch 'master' of vparabola:abslibre
Diffstat (limited to 'kernels/linux-libre-xen/3.11-haswell-intel_pstate.patch')
-rw-r--r--kernels/linux-libre-xen/3.11-haswell-intel_pstate.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/kernels/linux-libre-xen/3.11-haswell-intel_pstate.patch b/kernels/linux-libre-xen/3.11-haswell-intel_pstate.patch
new file mode 100644
index 000000000..1f376b518
--- /dev/null
+++ b/kernels/linux-libre-xen/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