summaryrefslogtreecommitdiff
path: root/libre/linux-libre/3.11-haswell-intel_pstate.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-09-25 16:38:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-09-25 16:38:14 -0300
commit21fbe187a9eed151eec8042d40f8cf7008a095db (patch)
tree384cd2f77f6aea90a2d3d6ec17e5de134a69e2f0 /libre/linux-libre/3.11-haswell-intel_pstate.patch
parent54360e88db6fd8b650ccd147cecbff0e1fac22fa (diff)
downloadabslibre-21fbe187a9eed151eec8042d40f8cf7008a095db.tar.gz
abslibre-21fbe187a9eed151eec8042d40f8cf7008a095db.tar.bz2
abslibre-21fbe187a9eed151eec8042d40f8cf7008a095db.zip
linux-libre-3.11.1-3: updating revision with new patches
* fix broken skge network driver #36865 => https://bugs.archlinux.org/task/36865 * add haswell pstate support * update version for mips64el
Diffstat (limited to 'libre/linux-libre/3.11-haswell-intel_pstate.patch')
-rw-r--r--libre/linux-libre/3.11-haswell-intel_pstate.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/libre/linux-libre/3.11-haswell-intel_pstate.patch b/libre/linux-libre/3.11-haswell-intel_pstate.patch
new file mode 100644
index 000000000..1f376b518
--- /dev/null
+++ b/libre/linux-libre/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