On Wed, Jul 07, 2021 at 01:14:34PM -0500, Brijesh Singh wrote: > The sev_feature_enabled() helper can be used by the guest to query whether > the SNP - Secure Nested Paging feature is active. > > Signed-off-by: Brijesh Singh <brijesh.singh@xxxxxxx> > --- > arch/x86/include/asm/mem_encrypt.h | 8 ++++++++ > arch/x86/include/asm/msr-index.h | 2 ++ > arch/x86/mm/mem_encrypt.c | 14 ++++++++++++++ > 3 files changed, 24 insertions(+) This will get replaced by this I presume: https://lkml.kernel.org/r/cover.1627424773.git.thomas.lendacky@xxxxxxx -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette