x86/mm: Add Secure Encrypted Virtualization (SEV) support
authorTom Lendacky <thomas.lendacky@amd.com>
Fri, 20 Oct 2017 14:30:44 +0000 (09:30 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 7 Nov 2017 14:35:54 +0000 (15:35 +0100)
commitd8aa7eea78a1401cce39b3bb61ead0150044a3df
tree8578eb975c77968db7003b83d1c670ff27b35451
parent33e63acc119d15c2fac3e3775f32d1ce7a01021b
x86/mm: Add Secure Encrypted Virtualization (SEV) support

Provide support for Secure Encrypted Virtualization (SEV). This initial
support defines a flag that is used by the kernel to determine if it is
running with SEV active.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Tested-by: Borislav Petkov <bp@suse.de>
Cc: kvm@vger.kernel.org
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20171020143059.3291-3-brijesh.singh@amd.com
arch/x86/include/asm/mem_encrypt.h
arch/x86/mm/mem_encrypt.c
include/linux/mem_encrypt.h