aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorRadim Krčmář <[email protected]>2025-08-12 09:02:56 +0000
committerPaul Walmsley <[email protected]>2025-09-05 21:31:20 +0000
commit8a16586fa7b8a01360890d284896b90c217dca44 (patch)
tree47dd31eb6a5547969777c10021c98744beacac4d /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentriscv, bpf: use lw when reading int cpu in BPF_MOV64_PERCPU_REG (diff)
downloadkernel-8a16586fa7b8a01360890d284896b90c217dca44.tar.gz
kernel-8a16586fa7b8a01360890d284896b90c217dca44.zip
riscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_id
emit_ld 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: 2ddec2c80b44 ("riscv, bpf: inline bpf_get_smp_processor_id()") Cc: [email protected] Signed-off-by: Radim Krčmář <[email protected]> Reviewed-by: Pu Lehui <[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_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions