diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-17 13:28:51 -0600 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-03-06 13:01:24 -0600 |
commit | b7a41156588ad03757bf0a2f0e05d6cbcebeaa9e (patch) | |
tree | 26aa1259c673fafd75ce3094fb9583e779511d73 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a1d1d8fb653532638cfb3ee0b7e67ebd5327a3d6 (diff) |
cpufreq/amd-pstate: Invalidate cppc_req_cached during suspend
During resume it's possible the firmware didn't restore the CPPC request
MSR but the kernel thinks the values line up. This leads to incorrect
performance after resume from suspend.
To fix the issue invalidate the cached value at suspend. During resume use
the saved values programmed as cached limits.
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reported-by: Miroslav Pavleski <miroslav@pavleski.net>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217931
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions