]> git.baikalelectronics.ru Git - uboot.git/commit
x86: mp: Support APs waiting for instructions
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:16 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:45 +0000 (09:46 +0800)
commit8ebcd784f9eef7dabdd49d549c21c4917ce75c94
tree7356a8e31947ee950b1881ab8372ab898233ffde
parentb513e50e991b7b52de38171ff35382c0e1da6cb9
x86: mp: Support APs waiting for instructions

At present the APs (non-boot CPUs) are inited once and then parked ready
for the OS to use them. However in some cases we want to send new requests
through, such as to change MTRRs and keep them consistent across CPUs.

Change the last state of the flight plan to go into a wait loop, accepting
instructions from the main CPU.

Drop cpu_map since it is not used.

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/Kconfig
arch/x86/cpu/apollolake/Kconfig
arch/x86/cpu/mp_init.c
arch/x86/include/asm/mp.h