aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorRanjan Kumar <[email protected]>2025-06-27 19:45:36 +0000
committerMartin K. Petersen <[email protected]>2025-07-15 00:52:45 +0000
commite6327c4acf925bb6d6d387d76fc3bd94471e10d8 (patch)
treeab0d879b15ef5e5efa88f2222916790e5f2ac127 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentLinux 6.16-rc1 (diff)
downloadkernel-e6327c4acf925bb6d6d387d76fc3bd94471e10d8.tar.gz
kernel-e6327c4acf925bb6d6d387d76fc3bd94471e10d8.zip
scsi: mpi3mr: Fix race between config read submit and interrupt completion
The "is_waiting" flag was updated after calling complete(), which could lead to a race where the waiting thread wakes up before the flag is cleared. This may cause a missed wakeup or stale state check. Reorder the operations to update "is_waiting" before signaling completion to ensure consistent state. Fixes: 824a156633df ("scsi: mpi3mr: Base driver code") Cc: [email protected] Co-developed-by: Chandrakanth Patil <[email protected]> Signed-off-by: Chandrakanth Patil <[email protected]> Signed-off-by: Ranjan Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions