linux-stable/arch
Radim Krčmář 524ee2606a riscv: use lw when reading int cpu in asm_per_cpu
commit f4ea67a722 upstream.

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: be97d0db5f ("riscv: VMAP_STACK overflow detection thread-safe")
Cc: stable@vger.kernel.org
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Radim Krčmář <rkrcmar@ventanamicro.com>
Link: https://lore.kernel.org/r/20250725165410.2896641-5-rkrcmar@ventanamicro.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-09 18:56:34 +02:00
..
alpha
arc
arm sched/topology: Add a new arch_scale_freq_ref() method 2025-08-28 16:28:42 +02:00
arm64 arm64: ftrace: fix unreachable PLT for ftrace_caller in init_module with CONFIG_DYNAMIC_FTRACE 2025-09-09 18:56:26 +02:00
csky
hexagon
ia64
loongarch LoongArch: Save LBT before FPU in setup_sigcontext() 2025-09-09 18:56:19 +02:00
m68k m68k: Fix lost column on framebuffer debug console 2025-08-28 16:28:33 +02:00
microblaze
mips mips: lantiq: xway: sysctrl: rename the etop node 2025-09-04 15:30:18 +02:00
nios2
openrisc
parisc parisc: Update comments in make_insert_tlb 2025-08-28 16:28:37 +02:00
powerpc powerpc/kvm: Fix ifdef to remove build warning 2025-09-04 15:30:20 +02:00
riscv riscv: use lw when reading int cpu in asm_per_cpu 2025-09-09 18:56:34 +02:00
s390 s390/hypfs: Enable limited access during lockdown 2025-08-28 16:28:50 +02:00
sh sh: Do not use hyphen in exported variable name 2025-08-15 12:08:56 +02:00
sparc
um um: Re-evaluate thread flags repeatedly 2025-08-28 16:28:21 +02:00
x86 x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings() 2025-09-09 18:56:26 +02:00
xtensa
.gitignore
Kconfig