linux-kernelorg-stable/arch
Marc Zyngier 6259f3443c
risc-v: Fix order of IPI enablement vs RCU startup
Conor reports that risc-v tries to enable IPIs before telling the
core code to enable RCU. With the introduction of the mapple tree
as a backing store for the irq descriptors, this results in
a very shouty boot sequence, as RCU is legitimately upset.

Restore some sanity by moving the risc_ipi_enable() call after
notify_cpu_starting(), which explicitly enables RCU on the calling
CPU.

Fixes: 832f15f426 ("RISC-V: Treat IPIs as normal Linux IRQs")
Reported-by: Conor Dooley <conor@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230703-dupe-frying-79ae2ccf94eb@spud
Cc: Anup Patel <apatel@ventanamicro.com>
Cc: Palmer Dabbelt <palmer@rivosinc.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230703183126.1567625-1-maz@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2023-07-05 07:24:38 -07:00
..
alpha Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
arc slab updates for 6.5 2023-06-29 16:34:12 -07:00
arm slab updates for 6.5 2023-06-29 16:34:12 -07:00
arm64 ARM: SoC defconfig changes for 6.5 2023-06-29 15:26:45 -07:00
csky csky: fix up lock_mm_and_find_vma() conversion 2023-06-29 23:34:29 -07:00
hexagon Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
ia64 drm changes for 6.5-rc1: 2023-06-29 11:00:17 -07:00
loongarch LoongArch changes for v6.5 2023-06-30 08:52:28 -07:00
m68k slab updates for 6.5 2023-06-29 16:34:12 -07:00
microblaze slab updates for 6.5 2023-06-29 16:34:12 -07:00
mips slab updates for 6.5 2023-06-29 16:34:12 -07:00
nios2 slab updates for 6.5 2023-06-29 16:34:12 -07:00
openrisc Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
parisc parisc: fix expand_stack() conversion 2023-06-29 23:04:57 -07:00
powerpc powerpc updates for 6.5 2023-06-30 09:20:08 -07:00
riscv risc-v: Fix order of IPI enablement vs RCU startup 2023-07-05 07:24:38 -07:00
s390 Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
sh slab updates for 6.5 2023-06-29 16:34:12 -07:00
sparc sparc32: fix lock_mm_and_find_vma() conversion 2023-06-29 20:41:24 -07:00
um slab updates for 6.5 2023-06-29 16:34:12 -07:00
x86 drm changes for 6.5-rc1: 2023-06-29 11:00:17 -07:00
xtensa powerpc updates for 6.5 2023-06-30 09:20:08 -07:00
.gitignore
Kconfig - Arnd Bergmann has fixed a bunch of -Wmissing-prototypes in 2023-06-28 10:59:38 -07:00