mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] x86: Make 5-level paging support unconditional for x86-64
@ 2024-06-21 16:44 Kirill A. Shutemov
  2024-06-21 16:44 ` [PATCH 1/3] x86/64/mm: Always use dynamic memory layout Kirill A. Shutemov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Kirill A. Shutemov @ 2024-06-21 16:44 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin
  Cc: Jonathan Corbet, Andy Lutomirski, Peter Zijlstra, Ard Biesheuvel,
	Jan Kiszka, Kieran Bingham, Kirill A. Shutemov, Michael Roth,
	Rick Edgecombe, Brijesh Singh, Sandipan Das, Juergen Gross,
	Tom Lendacky, linux-kernel, linux-doc, linux-efi, linux-mm

Both Intel and AMD CPUs support 5-level paging, which is expected to
become more widely adopted in the future.

Remove CONFIG_X86_5LEVEL.

In preparation to that remove CONFIG_DYNAMIC_MEMORY_LAYOUT and make
SPARSEMEM_VMEMMAP the only memory model.

Kirill A. Shutemov (3):
  x86/64/mm: Always use dynamic memory layout
  x86/64/mm: Make SPARSEMEM_VMEMMAP the only memory model
  x86/64/mm: Make 5-level paging support unconditional

 Documentation/arch/x86/cpuinfo.rst            |  8 ++---
 .../arch/x86/x86_64/5level-paging.rst         |  9 ------
 arch/x86/Kconfig                              | 32 ++-----------------
 arch/x86/boot/compressed/pgtable_64.c         | 11 ++-----
 arch/x86/boot/header.S                        |  4 ---
 arch/x86/include/asm/disabled-features.h      |  9 +-----
 arch/x86/include/asm/page_64.h                |  2 --
 arch/x86/include/asm/page_64_types.h          | 11 -------
 arch/x86/include/asm/pgtable_64_types.h       | 24 --------------
 arch/x86/kernel/alternative.c                 |  2 +-
 arch/x86/kernel/head64.c                      |  7 ----
 arch/x86/kernel/head_64.S                     |  2 --
 arch/x86/mm/init.c                            |  4 ---
 arch/x86/mm/init_64.c                         |  9 +-----
 arch/x86/mm/pgtable.c                         |  2 --
 drivers/firmware/efi/libstub/x86-5lvl.c       |  2 +-
 scripts/gdb/linux/pgtable.py                  |  4 +--
 .../arch/x86/include/asm/disabled-features.h  |  9 +-----
 18 files changed, 13 insertions(+), 138 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-26 12:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-21 16:44 [PATCH 0/3] x86: Make 5-level paging support unconditional for x86-64 Kirill A. Shutemov
2024-06-21 16:44 ` [PATCH 1/3] x86/64/mm: Always use dynamic memory layout Kirill A. Shutemov
2024-06-21 16:44 ` [PATCH 2/3] x86/64/mm: Make SPARSEMEM_VMEMMAP the only memory model Kirill A. Shutemov
2024-06-21 16:44 ` [PATCH 3/3] x86/64/mm: Make 5-level paging support unconditional Kirill A. Shutemov
2024-06-25 23:21   ` kernel test robot
2024-06-26 10:26     ` [PATCH] " Kirill A. Shutemov
2024-06-26 10:46       ` Borislav Petkov
2024-06-26 12:00         ` Kirill A. Shutemov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®