cpufreq: intel_pstate: Ignore _PPC processing under HWP
Subsystems (2)
Srinivas Pandruvada
maintainerPATCH 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.
Signed-off-by Srinivas Pandruvada <[email protected]>
--- drivers/cpufreq/intel_pstate.c | 3 +++ 1 file changed, 3 insertions(+)
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 ;
Signature · 1 line
2.5.5
Rafael J. Wysocki
AppliedQuoted 14 lines · Srinivas Pandruvada
When HWP (hardware P states) feature is active, the ACPI
_PSSand_PPCis not used. So ignore processing for_PPClimits.Signed-off-by Srinivas Pandruvada <[email protected]>--- drivers/cpufreq/intel_pstate.c | 3 +++ 1 file changed, 3 insertions(+)drivers/cpufreq/intel_pstate.c +0
-0
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!