On Tue, Oct 29, 2024 at 05:19:29PM +0800, Xiaoyao Li wrote: > IMHO, it's a bad starter. What does a "bad starter" mean exactly? > As more and more SNP features will be enabled in the future, a SNP init > function like tdx_early_init() would be a good place for all SNP guest > stuff. There is already a call to sme_early_init() around that area. It could be repurposed for SEV/SNP stuff too... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette