aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorRadim Krčmář <[email protected]>2025-07-25 16:54:10 +0000
committerPaul Walmsley <[email protected]>2025-09-05 21:31:24 +0000
commitf4ea67a722e8c9e1fb8109adebb9fb881ff0793a (patch)
treefc3bad6179de95dee416f591434154ed0b3c7d96 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parentriscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_id (diff)
downloadkernel-f4ea67a722e8c9e1fb8109adebb9fb881ff0793a.tar.gz
kernel-f4ea67a722e8c9e1fb8109adebb9fb881ff0793a.zip
riscv: use lw when reading int cpu in asm_per_cpu
REG_L is wrong, because thread_info.cpu is 32-bit, not xlen-bit wide. The struct currently has a hole after cpu, so little endian accesses seemed fine. Fixes: be97d0db5f44 ("riscv: VMAP_STACK overflow detection thread-safe") Cc: [email protected] Reviewed-by: Alexandre Ghiti <[email protected]> Signed-off-by: Radim Krčmář <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions