aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2025-02-18 11:11:34 +0000
committerVasily Gorbik <[email protected]>2025-02-18 17:49:24 +0000
commitc3a589fd9fcbf295a7402a4b188dc9277d505f4f (patch)
tree29b7eb92588fd59439236c5e2aa9f3e0e3c567c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parents390/purgatory: Use -D__DISABLE_EXPORTS (diff)
downloadkernel-c3a589fd9fcbf295a7402a4b188dc9277d505f4f.tar.gz
kernel-c3a589fd9fcbf295a7402a4b188dc9277d505f4f.zip
s390/boot: Fix ESSA detection
The cmma_test_essa() inline assembly uses tmp as input and output, however tmp is specified as output only, which allows the compiler to optimize the initialization of tmp away. Therefore the ESSA detection may or may not work depending on previous contents of the register that the compiler selected for tmp. Fix this by using the correct constraint modifier. Fixes: 468a3bc2b7b9 ("s390/cmma: move parsing of cmma kernel parameter to early boot code") Cc: [email protected] Signed-off-by: Heiko Carstens <[email protected]> Reviewed-by: Vasily Gorbik <[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