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

From: Kuppuswamy, Sathyanarayanan
Date: Mon Jun 07 2021 - 12:59:16 EST




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