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

Kuppuswamy, Sathyanarayanan
2021-06-07T16:59:16Z

On 6/7/21 7:32 AM, Tom Lendacky wrote:
>> + tdx_early_init();
>> +
> Just a real minor nit, but does this have to be after kasan_early_init()?
> If not, keeping the SME/SEV/TDX calls "together" might read clearer. So
> just moving it up before kasan_early_init() will group them.

We have more patches in this series, and they are dependent on some
boot command line options. So we will eventually move tdx_early_init()
below copy_bootdata(__va(real_mode_data))

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer