Re: [EXTERNAL] [PATCH v5 10/10] x86/hyperv/vtl: Use the wakeup mailbox to boot secondary CPUs
From: Ricardo Neri
Date: Thu Sep 18 2025 - 22:41:49 EST
On Fri, Sep 12, 2025 at 08:47:52PM +0000, Dexuan Cui wrote:
> > From: Ricardo Neri <ricardo.neri-calderon@xxxxxxxxxxxxxxx>
> > Sent: Friday, June 27, 2025 8:35 PM
> > [...]
> > The hypervisor is an untrusted entity for TDX guests. It cannot be used
> > to boot secondary CPUs. The function hv_vtl_wakeup_secondary_cpu() cannot
> > be used.
> >
> > Instead, the virtual firmware boots the secondary CPUs and places them in
> > a state to transfer control to the kernel using the wakeup mailbox.
> >
> > The kernel updates the APIC callback wakeup_secondary_cpu_64() to use
> > the mailbox if detected early during boot (enumerated via either an ACPI
> > table or a DeviceTree node).
> >
> > Reviewed-by: Michael Kelley <mhklinux@xxxxxxxxxxx>
> > Signed-off-by: Ricardo Neri <ricardo.neri-calderon@xxxxxxxxxxxxxxx>
> > ---
>
> LGTM
>
> Reviewed-by: Dexuan Cui <decui@xxxxxxxxxxxxx>
Thank you for your review!