Re: [patch v3 31/36] x86/apic: Provide cpu_primary_thread mask

From: Thomas Gleixner
Date: Tue May 30 2023 - 05:27:36 EST


On Mon, May 29 2023 at 23:31, Kirill A. Shutemov wrote:
> Aaand the next patch that breaks TDX boot is... <drum roll>
>
> x86/smpboot/64: Implement arch_cpuhp_init_parallel_bringup() and enable it
>
> Disabling parallel bringup helps. I didn't look closer yet. If you have
> an idea let me know.

So how does TDX end up with actual parallel bringup?

if (cc_platform_has(CC_ATTR_GUEST_STATE_ENCRYPT)) {
pr_info("Parallel CPU startup disabled due to guest state encryption\n");
return false;
}

It should take that path, no?

Thanks,

tglx