[PATCH v6 06/34] x86/mm: Add Secure Memory Encryption (SME) support
Borislav Petkov
bp at alien8.de
Fri Jun 9 09:43:09 PDT 2017
On Wed, Jun 07, 2017 at 02:14:16PM -0500, Tom Lendacky wrote:
> Add support for Secure Memory Encryption (SME). This initial support
> provides a Kconfig entry to build the SME support into the kernel and
> defines the memory encryption mask that will be used in subsequent
> patches to mark pages as encrypted.
>
> Signed-off-by: Tom Lendacky <thomas.lendacky at amd.com>
> ---
> arch/x86/Kconfig | 22 ++++++++++++++++++++++
> arch/x86/include/asm/mem_encrypt.h | 35 +++++++++++++++++++++++++++++++++++
> arch/x86/mm/Makefile | 1 +
> arch/x86/mm/mem_encrypt.c | 21 +++++++++++++++++++++
> include/asm-generic/mem_encrypt.h | 27 +++++++++++++++++++++++++++
> include/linux/mem_encrypt.h | 18 ++++++++++++++++++
> 6 files changed, 124 insertions(+)
> create mode 100644 arch/x86/include/asm/mem_encrypt.h
> create mode 100644 arch/x86/mm/mem_encrypt.c
> create mode 100644 include/asm-generic/mem_encrypt.h
> create mode 100644 include/linux/mem_encrypt.h
Reviewed-by: Borislav Petkov <bp at suse.de>
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
More information about the kexec
mailing list