summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2016-05-04 15:07:34 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-05 01:43:47 +0200
commite59a8f7ff4573fd54f1acec0e29280a6556fdde9 (patch)
tree3a303e596c3ab459d7b769c68005e491e15008ff /drivers/cpufreq
parentd9975b0b079c2708d39c01dad882c91a7a5a348f (diff)
downloadop-kernel-dev-e59a8f7ff4573fd54f1acec0e29280a6556fdde9.zip
op-kernel-dev-e59a8f7ff4573fd54f1acec0e29280a6556fdde9.tar.gz
cpufreq: intel_pstate: Ignore _PPC processing under HWP
When HWP (hardware P states) feature is active, the ACPI _PSS and _PPC is not used. So ignore processing for _PPC limits. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/intel_pstate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index a0823e8..74453fe 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -380,6 +380,9 @@ static void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy)
int ret;
int i;
+ if (hwp_active)
+ return;
+
if (!intel_pstate_get_ppc_enable_status())
return;
OpenPOWER on IntegriCloud