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@xxxxxxx> > --- > 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@xxxxxxx> -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>