Re: [PATCH v3 03/11] x86/cpufeatures: Add TDX Guest CPU feature

From: Kuppuswamy, Sathyanarayanan
Date: Mon Jul 19 2021 - 01:11:03 EST




On 7/15/21 4:56 AM, Xiaoyao Li wrote:


As change log describes, EBX + EDX + ECX is "IntelTDX    ", not EBX + ECX + EDX. So it should be

    cpuid_count(TDX_CPUID_LEAF_ID, 0, &eax, &sig[0], &sig[2], &sig[1]);

Please also correct early_cpuid_has_tdx_guest()

Good catch. I will fix this in next submission.

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer