Skip to contentSkip to conversation

cpufreq: intel_pstate: Ignore _PPC processing under HWP

PATCH Applied Srinivas Pandruvada 2 participants 2 messages May 4, 2016 – May 5, 2016

Subsystems (2)
lore
Share & tools
lore

Srinivas Pandruvada

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 drivers/cpufreq/intel_pstate.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/cpufreq/intel_pstate.c +3 -0
index 97a8278..0620fa6 100644
@@ -378,6 +378,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;
 
Signature · 1 line
2.5.5
#1 lore raw
Quoted 14 lines · Srinivas Pandruvada

When HWP (hardware P states) feature is active, the ACPI _PSS and _PPC is not used. So ignore processing for _PPC limits.

---
 drivers/cpufreq/intel_pstate.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/cpufreq/intel_pstate.c +0 -0
index 97a8278..0620fa6 100644

drivers/cpufreq/intel_pstate.c static void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy) · line 386

Quoted 9 lines
drivers/cpufreq/intel_pstate.c +3 -0
@@ -378,6 +378,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;
 

Applied, thanks!