]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: Extend cc_attr to include AMD SEV-SNP
authorBrijesh Singh <brijesh.singh@amd.com>
Thu, 24 Feb 2022 16:55:49 +0000 (10:55 -0600)
committerBorislav Petkov <bp@suse.de>
Wed, 6 Apr 2022 11:02:34 +0000 (13:02 +0200)
commitb7fd48b78ea82616033125b9bb19ec232e5c0ad7
tree67e176343fb8dc60a5e69746f2b4e2c15fbb7056
parent38d3115dd5088854cec6a3a91c83bcaa1f2cf7f7
x86/mm: Extend cc_attr to include AMD SEV-SNP

The CC_ATTR_GUEST_SEV_SNP can be used by the guest to query whether the
SNP (Secure Nested Paging) feature is active.

Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220307213356.2797205-10-brijesh.singh@amd.com
arch/x86/coco/core.c
arch/x86/include/asm/msr-index.h
arch/x86/mm/mem_encrypt.c
include/linux/cc_platform.h