Re: [PATCH v6 22/34] x86/mm: Add support for changing the memory encryption attribute

From: Borislav Petkov
Date: Wed Jun 14 2017 - 12:26:00 EST


On Wed, Jun 07, 2017 at 02:17:00PM -0500, Tom Lendacky wrote:
> Add support for changing the memory encryption attribute for one or more
> memory pages. This will be useful when we have to change the AP trampoline
> area to not be encrypted. Or when we need to change the SWIOTLB area to
> not be encrypted in support of devices that can't support the encryption
> mask range.
>
> Signed-off-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
> ---
> arch/x86/include/asm/set_memory.h | 3 ++
> arch/x86/mm/pageattr.c | 62 +++++++++++++++++++++++++++++++++++++
> 2 files changed, 65 insertions(+)

Patches 21-22:

Reviewed-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.