Re: [PATCHv4 07/18] x86/mm: Introduce variables to store number, shift and mask of KeyIDs

From: Kirill A. Shutemov
Date: Tue Jul 10 2018 - 06:48:20 EST


On Mon, Jul 09, 2018 at 02:09:49PM -0400, Konrad Rzeszutek Wilk wrote:
> > diff --git a/arch/x86/mm/Makefile b/arch/x86/mm/Makefile
> > index 4b101dd6e52f..4ebee899c363 100644
> > --- a/arch/x86/mm/Makefile
> > +++ b/arch/x86/mm/Makefile
> > @@ -53,3 +53,5 @@ obj-$(CONFIG_PAGE_TABLE_ISOLATION) += pti.o
> > obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt.o
> > obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt_identity.o
> > obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt_boot.o
> > +
> > +obj-$(CONFIG_X86_INTEL_MKTME) += mktme.o
>
> Any particular reason to have x86 in the CONFIG?

It is consistent with MPX and protection keys.

--
Kirill A. Shutemov