Re: [PATCH v16 05/13] x86/sev: Add Secure TSC support for SNP guests
From: Borislav Petkov
Date: Tue Jan 07 2025 - 14:54:24 EST
On Tue, Jan 07, 2025 at 01:46:49PM -0600, Tom Lendacky wrote:
> Although if you have to re-spin, it might make sense to use the __free()
> support to reduce the number of gotos and labels in snp_get_tsc_info().
> You could also use kfree_sensitive() to automatically do the
> memzero_explicit(), too.
Let's keep that for future cleanups, pls, when there's time.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette