diff options
| author | Yuntao Wang <[email protected]> | 2024-05-15 13:45:54 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-06-17 13:08:04 +0000 |
| commit | 932d8476399f622aa0767a4a0a9e78e5341dc0e1 (patch) | |
| tree | 8d065ad2a65252ba9ba1d43a266aecffd884a3f9 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | Linux 6.10-rc4 (diff) | |
| download | kernel-932d8476399f622aa0767a4a0a9e78e5341dc0e1.tar.gz kernel-932d8476399f622aa0767a4a0a9e78e5341dc0e1.zip | |
cpu/hotplug: Fix dynstate assignment in __cpuhp_setup_state_cpuslocked()
Commit 4205e4786d0b ("cpu/hotplug: Provide dynamic range for prepare
stage") added a dynamic range for the prepare states, but did not handle
the assignment of the dynstate variable in __cpuhp_setup_state_cpuslocked().
This causes the corresponding startup callback not to be invoked when
calling __cpuhp_setup_state_cpuslocked() with the CPUHP_BP_PREPARE_DYN
parameter, even though it should be.
Currently, the users of __cpuhp_setup_state_cpuslocked(), for one reason or
another, have not triggered this bug.
Fixes: 4205e4786d0b ("cpu/hotplug: Provide dynamic range for prepare stage")
Signed-off-by: Yuntao Wang <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
