aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorMario Limonciello (AMD) <[email protected]>2025-08-26 05:27:47 +0000
committerMario Limonciello (AMD) <[email protected]>2025-09-03 14:17:34 +0000
commitba3319e5905710abe495b11a1aaf03ebb51d62e2 (patch)
tree99feef53f8765f21143350b44b96d6fb30b4b730 /rust/helpers/xarray.c
parentcpufreq/amd-pstate: Fix setting of CPPC.min_perf in active mode for performan... (diff)
downloadkernel-ba3319e5905710abe495b11a1aaf03ebb51d62e2.tar.gz
kernel-ba3319e5905710abe495b11a1aaf03ebb51d62e2.zip
cpufreq/amd-pstate: Fix a regression leading to EPP 0 after resume
During the suspend sequence the cached CPPC request is destroyed with the expectation that it's restored during resume. This assumption broke when the separate cache EPP variable was removed, and then it was broken again by commit 608a76b65288 ("cpufreq/amd-pstate: Add support for the "Requested CPU Min frequency" BIOS option") which explicitly set it to zero during suspend. Remove the invalidation and set the value during the suspend call to update limits so that the cached variable can be used to restore on resume. Fixes: 608a76b65288 ("cpufreq/amd-pstate: Add support for the "Requested CPU Min frequency" BIOS option") Fixes: b7a41156588a ("cpufreq/amd-pstate: Invalidate cppc_req_cached during suspend") Reported-by: goldens <[email protected]> Closes: https://community.frame.work/t/increased-power-usage-after-resuming-from-suspend-on-ryzen-7040-kernel-6-15-regression/ Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2391221 Tested-by: goldens <[email protected]> Tested-by: Willian Wang <[email protected]> Reported-by: Vincent Mauirn <[email protected]> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219981 Tested-by: Alex De Lorenzo <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mario Limonciello (AMD) <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions