[SRU][H, I][PATCH 0/1 v2] cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline

Philip Cox philip.cox at canonical.com
Wed Nov 17 19:44:34 UTC 2021


From: "Rafael J. Wysocki" <rafael.j.wysocki at intel.com>

BugLink: https://bugs.launchpad.net/bugs/1950584

[Impact]

"Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
 ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
 desired values in certain usage scenarios, but it did not prevent
 them from being leaked into the confugirations in which HWP desired
 is expected to be 0"

I believe I'm seeing this issue on my laptop during suspend/resume. The upstream fix is:

commit dbea75fe18f60e364de6d994fc938a24ba249d81
Author: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
Date: Wed Nov 3 19:43:47 2021 +0100

    cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline

[Fix]

dbea75fe18f60e364de6d994fc938a24ba249d81 cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline


Changes from v1:
- v1 was a backport into hirsute, and impish as separate patches. v2 is
  a clean cherry-pick that merges and builds clean in both hirsute, and
  impish.

-- 
2.25.1




More information about the kernel-team mailing list