Re: [PATCH v14 03/13] x86/sev: Add Secure TSC support for SNP guests
From: Borislav Petkov
Date: Tue Oct 29 2024 - 10:51:40 EST
On Tue, Oct 29, 2024 at 09:34:40AM -0500, Tom Lendacky wrote:
> TDX also makes use of initialization that happens in mem_encrypt_init()
> and mem_encrypt_setup_arch(), so it doesn't only use tdx_early_init().
I think he means that mem_encrypt_init() should do some more "generic" memory
encryption setup while the vendor-specific one should be concentrated in
vendor-specific calls.
But this is all meh - there are vendor checks in all the memory encryption
paths so I'm not sure what we're even discussing here actually...
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette