aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
diff options
context:
space:
mode:
authorZeng Heng <[email protected]>2025-06-03 12:58:28 +0000
committerThomas Gleixner <[email protected]>2025-06-04 18:32:55 +0000
commitdd2922dcfaa3296846265e113309e5f7f138839f (patch)
tree32dd9bee1ad91881ddcb9a0d2572c9f88596d106 /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
parentx86/iopl: Cure TIF_IO_BITMAP inconsistencies (diff)
downloadkernel-dd2922dcfaa3296846265e113309e5f7f138839f.tar.gz
kernel-dd2922dcfaa3296846265e113309e5f7f138839f.zip
fs/resctrl: Restore the rdt_last_cmd_clear() calls after acquiring rdtgroup_mutex
A lockdep fix removed two rdt_last_cmd_clear() calls that were used to clear the last_cmd_status buffer but called without holding the required rdtgroup_mutex. The impacted resctrl commands are writing to the cpus or cpus_list files and creating a new monitor or control group. With stale data in the last_cmd_status buffer the impacted resctrl commands report the stale error on success, or append its own failure message to the stale error on failure. Consequently, restore the rdt_last_cmd_clear() calls after acquiring rdtgroup_mutex. Fixes: c8eafe149530 ("x86/resctrl: Fix potential lockdep warning") Signed-off-by: Zeng Heng <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
0 files changed, 0 insertions, 0 deletions