[PATCH] ARM: rockchip: fix kernel hang during smp initialization

Heiko Stuebner heiko at sntech.de
Mon Jul 14 08:08:55 PDT 2025


On Thu, 03 Jul 2025 17:04:53 +0300, Alexander Kochetkov wrote:
> 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.
> 
> [...]

Applied, thanks!

Gave this a spin on rk3066 + rk3188 + (not-A9) rk3288.
Both the affected SoCs as well as the rk3288 booted fine.


[1/1] ARM: rockchip: fix kernel hang during smp initialization
      commit: 7cdb433bb44cdc87dc5260cdf15bf03cc1cd1814

Best regards,
-- 
Heiko Stuebner <heiko at sntech.de>



More information about the linux-arm-kernel mailing list