Re: [PATCH 00/24] x86/mm: Add KAISER support

From: Ingo Molnar
Date: Mon Nov 27 2017 - 09:08:31 EST



* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

> > diff --git a/arch/x86/boot/compressed/pagetable.c b/arch/x86/boot/compressed/pagetable.c
> > index d5364ca2e3f9..63eaa71ad9f1 100644
> > --- a/arch/x86/boot/compressed/pagetable.c
> > +++ b/arch/x86/boot/compressed/pagetable.c
> > @@ -22,6 +22,7 @@
> > * the SME support to avoid any compile and link errors.
> > */
> > #undef CONFIG_AMD_MEM_ENCRYPT
> > +#undef CONFIG_KAISER
> >
> > #include "misc.h"
>
> Yeah - will use one with a bit more explanation:
>
> arch/x86/boot/compressed/pagetable.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/x86/boot/compressed/pagetable.c b/arch/x86/boot/compressed/pagetable.c
> index d5364ca2e3f9..6bd51de4475c 100644
> --- a/arch/x86/boot/compressed/pagetable.c
> +++ b/arch/x86/boot/compressed/pagetable.c
> @@ -23,6 +23,11 @@
> */
> #undef CONFIG_AMD_MEM_ENCRYPT
>
> +/*
> + * No KAISER support needed either:
> + */
> +#undef CONFIG_KAISER
> +
> #include "misc.h"
>
> /* These actually do the work of building the kernel identity maps. */

Ok, have refreshed the -tip branches with this fix as well.

Thanks,

Ingo