> 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>