aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/poll.c
diff options
context:
space:
mode:
authorAlexander Kochetkov <[email protected]>2025-07-03 14:04:53 +0000
committerHeiko Stuebner <[email protected]>2025-07-14 13:38:40 +0000
commit7cdb433bb44cdc87dc5260cdf15bf03cc1cd1814 (patch)
treec84bd27ae5fe5a81ce4f3cc2af96ee414d528da7 /rust/helpers/poll.c
parentLinux 6.16-rc1 (diff)
downloadkernel-7cdb433bb44cdc87dc5260cdf15bf03cc1cd1814.tar.gz
kernel-7cdb433bb44cdc87dc5260cdf15bf03cc1cd1814.zip
ARM: rockchip: fix kernel hang during smp initialization
In order to bring up secondary CPUs main CPU write trampoline code to SRAM. The trampoline code is written while secondary CPUs are powered on (at least that true for RK3188 CPU). Sometimes that leads to kernel hang. Probably because secondary CPU execute trampoline code while kernel doesn't expect. The patch moves SRAM initialization step to the point where all secondary CPUs are powered down. That fixes rarely hangs on RK3188: [ 0.091568] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.091996] rockchip_smp_prepare_cpus: ncores 4 Signed-off-by: Alexander Kochetkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
Diffstat (limited to 'rust/helpers/poll.c')
0 files changed, 0 insertions, 0 deletions