[PATCH 06/11] x86/sev: Replace occurrences of sev_es_active() with prot_guest_has()

Kuppuswamy, Sathyanarayanan sathyanarayanan.kuppuswamy at linux.intel.com
Mon Aug 9 22:08:53 UTC 2021



On 8/9/21 2:59 PM, Tom Lendacky wrote:
>> Not sure how TDX will handle AP booting, are you sure it needs this
>> special setup as well? Otherwise a check for SEV-ES would be better
>> instead of the generic PATTR_GUEST_PROT_STATE.
> Yes, I'm not sure either. I figure that change can be made, if needed, as
> part of the TDX support.

We don't plan to set PROT_STATE. So it does not affect TDX.
For SMP, we use MADT ACPI table for AP booting.

-- 
Sathyanarayanan Kuppuswamy
Linux Kernel Developer


More information about the amd-gfx mailing list