Loading
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: e30ca6dd ("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>