diff options
| author | 2026-05-08 05:17:46 +0000 | |
|---|---|---|
| committer | 2026-05-08 00:30:50 -0500 | |
| commit | f3acf7ff113007557538b278ccb0e4ab7ae513ea (patch) | |
| tree | f822f559689ebe8b99b77deab633acbf23b06185 /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | cpufreq/amd-pstate: Allow writes to dynamic_epp when state isn't modified (diff) | |
cpufreq/amd-pstate: Reorder notifier unregistration and floor perf reset
An active power supply notifier can race with amd_pstate_epp_cpu_exit()
trying to reset the floor perf and can overwrite the floor perf set in
MSR_AMD_CPPC_REQ.
Unregister the notifier before setting the floor perf to prevent the
rare race.
Fixes: e30ca6dd5345 ("cpufreq/amd-pstate: Add dynamic energy performance preference")
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20260508051748.10484-5-kprateek.nayak@amd.com
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
