Skip to content

x86: Make 5-level paging support unconditional for x86-64

Kirill A. Shutemov linux-doc linux-efi linux-mm lkml oe-kbuild-all 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/64/mm: Always use dynamic memory layoutarch/x86/Kconfig arch/x86/include/asm/page_64_types.h arch/x86/include/asm/pgtable_64_types.h +2 more+1 -230 replies
2/3x86/64/mm: Make SPARSEMEM_VMEMMAP the only memory modelarch/x86/Kconfig arch/x86/mm/init_64.c+2 -90 replies
3/3x86/64/mm: Make 5-level paging support unconditionalDocumentation/arch/x86/cpuinfo.rst Documentation/arch/x86/x86_64/5level-paging.rst arch/x86/Kconfig +13 more+10 -1063 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86: Make 5-level paging support unconditional for x86-64

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(-)
Signature · 1 line
2.43.0