From bfd1c6836978eebb67a02dedef7cb36b818abeac Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 5 Oct 2013 10:50:07 +0200 Subject: Add linux-custom --- linux-custom/3.11-haswell-intel_pstate.patch | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 linux-custom/3.11-haswell-intel_pstate.patch (limited to 'linux-custom/3.11-haswell-intel_pstate.patch') 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 +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 +Acked-by: Viresh Kumar +Acked-by: Dirk Brandewie +Signed-off-by: Rafael J. Wysocki +--- +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 -- cgit v1.2.3-54-g00ecf