RE: [PATCH v2 01/21] x86/virt/tdx: Detect SEAM

From: Tian, Kevin
Date: Tue Mar 22 2022 - 23:22:02 EST


> From: Kai Huang <kai.huang@xxxxxxxxx>
> Sent: Sunday, March 13, 2022 6:50 PM
>
> @@ -715,6 +716,8 @@ static void init_intel(struct cpuinfo_x86 *c)
> if (cpu_has(c, X86_FEATURE_TME))
> detect_tme(c);
>
> + tdx_detect_cpu(c);
> +

TDX is not reported as a x86 feature. and the majority of detection
and initialization have been conducted on demand in this series
(as explained in patch04). Why is SEAM (and latter keyid) so different
to be detected at early boot phase?

Thanks
Kevin