[PATCH] x86: qemu: Fix broken multi-core boot

Bin Meng bmeng.cn at gmail.com
Wed Feb 3 15:46:47 CET 2021


On Wed, Feb 3, 2021 at 9:00 PM Simon Glass <sjg at chromium.org> wrote:
>
> On Tue, 2 Feb 2021 at 00:05, Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > Unfortunately the multi-core boot for QEMU x86 has been broken since
> > commit 77a5e2d3bc61 ("x86: mp_init: Set up the CPU numbers at the start").
> >
> > In order to support QEMU x86 multi-core boot, the /cpus node must be
> > bound before any actual fix up in qemu_cpu_fixup(). This adds the
> > uclass_get() call to ensure this, just like what was done before.
> >
> > Fixes: 77a5e2d3bc61 ("x86: mp_init: Set up the CPU numbers at the start")
> > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > ---
> >
> >  arch/x86/cpu/qfw_cpu.c | 6 ++++++
> >  1 file changed, 6 insertions(+)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list