Re: [PATCH] x86/64/mm: Make 5-level paging support unconditional

From: Kirill A. Shutemov
Date: Wed Jun 26 2024 - 08:00:29 EST


On Wed, Jun 26, 2024 at 12:46:48PM +0200, Borislav Petkov wrote:
> On Wed, Jun 26, 2024 at 01:26:23PM +0300, Kirill A. Shutemov wrote:
> > Both Intel and AMD CPUs support 5-level paging, which is expected to
> > become more widely adopted in the future.
> >
> > Remove CONFIG_X86_5LEVEL and ifdeffery for it to make it more readable.
> >
> > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> > Suggested-by: Borislav Petkov <bp@xxxxxxxxx>
> > ---
> >
> > v2:
> > - Fix 32-bit build by wrapping p4d_set_huge() and p4d_clear_huge() in
> > #if CONFIG_PGTABLE_LEVELS > 4
>
> Is the 0day bot smart enough to detect separate v2 fixups like that and
> re-test using them?
>
> If not, you can push your tree to your repo so that it can chew on it again
> and report any other potential breakages...

Pushed:

https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git x86/no5lvl-config

--
Kiryl Shutsemau / Kirill A. Shutemov