]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: mp: Park CPUs before running the OS
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:20 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:46 +0000 (09:46 +0800)
commit99a573fb326faf5a7bff50e4f9875f2066728d95
tree7a7efde7ccc0fce8c5ce88a4bbafe98d7647b0c0
parent84d3ed125ad91c5973c4a071be5eea913bea34e5
x86: mp: Park CPUs before running the OS

With the new MP features the CPUs are no-longer parked when the OS is run.
Fix this by calling a special function to park them, just before the OS is
started.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c
arch/x86/cpu/mp_init.c
arch/x86/include/asm/mp.h