cpufreq: intel_pstate: Ignore _PPC processing under HWP
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 4 May 2016 22:07:34 +0000 (15:07 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 May 2016 23:43:47 +0000 (01:43 +0200)
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>
drivers/cpufreq/intel_pstate.c

index a0823e84ceca147564a54897ead2e5b505388c31..74453fe546c1ace49658fc478de3625e6e02edfd 100644 (file)
@@ -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;