Hello:
This patch was applied to riscv/linux.git (fixes) by Alexandre Ghiti alexghiti@rivosinc.com:
On Tue, 24 Jun 2025 16:04:46 +0800 you wrote:
Since commit 6b9f29b81b15 ("riscv: Enable pcpu page first chunk allocator"), if NUMA is enabled, the page percpu allocator may be used on very sparse configurations, or when requested on boot with percpu_alloc=page.
In that case, percpu data gets put in the vmalloc area. However, sbi_hsm_hart_start() needs the physical address of a sbi_hart_boot_data, and simply assumes that __pa() would work. This causes the just started hart to immediately access an invalid address and hang.
[...]
Here is the summary with links: - riscv: cpu_ops_sbi: Use static array for boot_data https://git.kernel.org/riscv/c/2b29be967ae4
You are awesome, thank you!