]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: Fix scalar load ordering in gfx12.1 trap handler
authorJay Cornwall <jay.cornwall@amd.com>
Fri, 16 Jan 2026 18:25:22 +0000 (12:25 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jan 2026 19:18:29 +0000 (14:18 -0500)
commitea89b305b6364ea8190b5ee108b9d122e2886f34
tree76689471215bfed550a1becef56b2fef95c3111a
parentd9fc0bdf9ce43225e4de2aec316ffb0acad65ea1
drm/amdkfd: Fix scalar load ordering in gfx12.1 trap handler

Scalar loads may arrive out-of-order with respect to KMCNT.
The affected code expects the two loads to arrive in-order.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Reviewed-by: Lancelot Six <lancelot.six@amd.com>
Cc: Joseph Greathouse <joseph.greathouse@amd.com>
Cc: Vladimir Indic <vladimir.indic@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx12.asm