aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorJay Cornwall <[email protected]>2025-06-11 14:52:14 +0000
committerAlex Deucher <[email protected]>2025-06-18 17:17:32 +0000
commitcfb05257ae168a0496c7637e1d9e3ab8a25cbffe (patch)
tree1d9e5f9fc0d0d2cf3ed670be48e9732b7cd2932f /lib/crypto/mpi/mpi-mul.c
parentdrm/amdgpu/sdma5: init engine reset mutex (diff)
downloadkernel-cfb05257ae168a0496c7637e1d9e3ab8a25cbffe.tar.gz
kernel-cfb05257ae168a0496c7637e1d9e3ab8a25cbffe.zip
drm/amdkfd: Fix race in GWS queue scheduling
q->gws is not updated atomically with qpd->mapped_gws_queue. If a runlist is created between pqm_set_gws and update_queue it will contain a queue which uses GWS in a process with no GWS allocated. This will result in a scheduler hang. Use q->properties.is_gws which is changed while holding the DQM lock. Signed-off-by: Jay Cornwall <[email protected]> Reviewed-by: Harish Kasiviswanathan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit b98370220eb3110e82248e3354e16a489a492cfb) Cc: [email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions