[PATCH v6 14/25] x86: mp: Park CPUs before running the OS
Bin Meng
bmeng.cn at gmail.com
Mon Jul 20 03:26:23 CEST 2020
On Fri, Jul 17, 2020 at 10:49 PM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
> (no changes since v5)
>
> Changes in v5:
> - Drop timing in mp_park_aps()
>
> Changes in v3:
> - Update the comment for mp_park_aps()
>
> arch/x86/cpu/cpu.c | 5 +++++
> arch/x86/cpu/mp_init.c | 16 ++++++++++++++++
> arch/x86/include/asm/mp.h | 17 +++++++++++++++++
> 3 files changed, 38 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list