|
@@ -779,6 +779,8 @@ static int intel_pstate_hwp_save_state(struct cpufreq_policy *policy)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+static void intel_pstate_hwp_enable(struct cpudata *cpudata);
|
|
|
+
|
|
|
static int intel_pstate_resume(struct cpufreq_policy *policy)
|
|
|
{
|
|
|
if (!hwp_active)
|
|
@@ -786,6 +788,9 @@ static int intel_pstate_resume(struct cpufreq_policy *policy)
|
|
|
|
|
|
mutex_lock(&intel_pstate_limits_lock);
|
|
|
|
|
|
+ if (policy->cpu == 0)
|
|
|
+ intel_pstate_hwp_enable(all_cpu_data[policy->cpu]);
|
|
|
+
|
|
|
all_cpu_data[policy->cpu]->epp_policy = 0;
|
|
|
intel_pstate_hwp_set(policy->cpu);
|
|
|
|