diff options
Diffstat (limited to 'intel-pstate-backport.patch')
-rw-r--r-- | intel-pstate-backport.patch | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/intel-pstate-backport.patch b/intel-pstate-backport.patch index 49e1ac003dfe..afa4a0d1ed9c 100644 --- a/intel-pstate-backport.patch +++ b/intel-pstate-backport.patch @@ -1,5 +1,5 @@ ---- linux-4.7/drivers/cpufreq/intel_pstate.c.dist 2016-07-24 15:23:50.000000000 -0400 -+++ linux-4.7/drivers/cpufreq/intel_pstate.c 2016-08-12 20:51:49.493249861 -0400 +--- linux-4.7/drivers/cpufreq/intel_pstate.c.orig 2016-08-23 02:59:25.787439771 +1000 ++++ linux-4.7/drivers/cpufreq/intel_pstate.c 2016-08-23 03:01:02.455753666 +1000 @@ -35,6 +35,7 @@ #include <asm/msr.h> #include <asm/cpu_device_id.h> @@ -47,15 +47,6 @@ wrmsrl_on_cpu(cpudata->cpu, MSR_PM_ENABLE, 0x1); } -@@ -944,7 +944,7 @@ - if (err) - goto skip_tar; - -- tdp_msr = MSR_CONFIG_TDP_NOMINAL + tdp_ctrl; -+ tdp_msr = MSR_CONFIG_TDP_NOMINAL + (tdp_ctrl & 0x3); - err = rdmsrl_safe(tdp_msr, &tdp_ratio); - if (err) - goto skip_tar; @@ -972,7 +972,7 @@ u64 value; int nont, ret; |