acrn-kernel/arch
Huacai Chen 9e584ea101 LoongArch/smp: Call rcutree_report_cpu_starting() at tlb_init()
commit 5056c596c3d1848021a4eaa76ee42f4c05c50346 upstream.

Machines which have more than 8 nodes fail to boot SMP after commit
a2ccf46333d7b2cf96 ("LoongArch/smp: Call rcutree_report_cpu_starting()
earlier"). Because such machines use tlb-based per-cpu base address
rather than dmw-based per-cpu base address, resulting per-cpu variables
can only be accessed after tlb_init(). But rcutree_report_cpu_starting()
is now called before tlb_init() and accesses per-cpu variables indeed.

Since the original patch want to avoid the lockdep warning caused by
page allocation in tlb_init(), we can move rcutree_report_cpu_starting()
to tlb_init() where after tlb exception configuration but before page
allocation.

Fixes: a2ccf46333d7b2cf96 ("LoongArch/smp: Call rcutree_report_cpu_starting() earlier")
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-05 20:13:02 +00:00
..
alpha rtc: Add support for configuring the UIP timeout for RTC reads 2024-01-31 16:17:01 -08:00
arc
arm ARM: dts: imx23/28: Fix the DMA controller node name 2024-02-05 20:12:52 +00:00
arm64 arm64: irq: set the correct node for shadow call stack 2024-02-05 20:13:02 +00:00
csky arch: consolidate arch_irq_work_raise prototypes 2024-02-05 20:12:49 +00:00
hexagon
ia64
loongarch LoongArch/smp: Call rcutree_report_cpu_starting() at tlb_init() 2024-02-05 20:13:02 +00:00
m68k
microblaze
mips mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan 2024-01-31 16:17:12 -08:00
nios2
openrisc
parisc parisc/firmware: Fix F-extend for PDC addresses 2024-01-31 16:16:59 -08:00
powerpc arch: consolidate arch_irq_work_raise prototypes 2024-02-05 20:12:49 +00:00
riscv arch: consolidate arch_irq_work_raise prototypes 2024-02-05 20:12:49 +00:00
s390 KVM: s390: fix setting of fpc register 2024-02-05 20:12:49 +00:00
sh
sparc
um um: time-travel: fix time corruption 2024-02-05 20:12:57 +00:00
x86 mm, kmsan: fix infinite recursion due to RCU critical section 2024-02-05 20:13:02 +00:00
xtensa
.gitignore
Kconfig