aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2025-02-25 09:53:10 +0000
committerVasily Gorbik <[email protected]>2025-03-04 16:15:18 +0000
commit5623bc23a1cb9f9a9470fa73b3a20321dc4c4870 (patch)
treef0015e66389149439da2c99a37ce3206aefefd40 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parents390/boot: Fix ESSA detection (diff)
downloadkernel-5623bc23a1cb9f9a9470fa73b3a20321dc4c4870.tar.gz
kernel-5623bc23a1cb9f9a9470fa73b3a20321dc4c4870.zip
s390/traps: Fix test_monitor_call() inline assembly
The test_monitor_call() inline assembly uses the xgr instruction, which also modifies the condition code, to clear a register. However the clobber list of the inline assembly does not specify that the condition code is modified, which may lead to incorrect code generation. Use the lhi instruction instead to clear the register without that the condition code is modified. Furthermore this limits clearing to the lower 32 bits of val, since its type is int. Fixes: 17248ea03674 ("s390: fix __EMIT_BUG() macro") Cc: [email protected] Reviewed-by: Juergen Christ <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions