linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <20250516091534.3414310-3-kirill.shutemov@linux.intel.com>]
  • [parent not found: <20250516091534.3414310-4-kirill.shutemov@linux.intel.com>]
  • * Re: [PATCHv2 0/3] x86: Make 5-level paging support unconditional for x86-64
           [not found] <20250516091534.3414310-1-kirill.shutemov@linux.intel.com>
                       ` (2 preceding siblings ...)
           [not found] ` <20250516091534.3414310-4-kirill.shutemov@linux.intel.com>
    @ 2025-06-24  8:11 ` Khalid Ali
      2025-06-24  8:22   ` H. Peter Anvin
      2025-06-24  8:49   ` Kirill A. Shutemov
      3 siblings, 2 replies; 17+ messages in thread
    From: Khalid Ali @ 2025-06-24  8:11 UTC (permalink / raw)
      To: tglx, mingo, bp, dave.hansen, hpa, corbet
      Cc: luto, peterz, ardb, jan.kiszka, kbingham, kirill.shutemov,
    	michael.roth, rick.p.edgecombe, brijesh.singh, sandipan.das,
    	jgross, thomas.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.
    >
    >v2:
    > - Fix 32-bit build by wrapping p4d_set_huge() and p4d_clear_huge() in
    >   #if CONFIG_PGTABLE_LEVELS > 4;
    > - Rebased onto current tip/master;
    >
    >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/Kconfig.cpufeatures                  |  4 ---
    > arch/x86/boot/compressed/pgtable_64.c         | 11 ++-----
    > arch/x86/boot/header.S                        |  4 ---
    > arch/x86/boot/startup/map_kernel.c            |  5 +--
    > 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                      |  4 ---
    > 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 +--
    > 18 files changed, 13 insertions(+), 126 deletions(-)
    
    I think i am too late, however this is completely wrong. There are still processors that doesn't support
    5-level paging which is mordern. We may call those processors old, however they are still common and used.
    
    So this patch seem too early for that. Some intel core-i5 and core-i7 doesn't support 5-level paging at all.
    
    This will break x86_64 cpus that doesn't support 5-level paging.
    
    
    ^ permalink raw reply	[flat|nested] 17+ messages in thread
  • [parent not found: <20250516123306.3812286-1-kirill.shutemov@linux.intel.com>]

    end of thread, other threads:[~2025-06-24  8:49 UTC | newest]
    
    Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20250516091534.3414310-1-kirill.shutemov@linux.intel.com>
         [not found] ` <20250516091534.3414310-2-kirill.shutemov@linux.intel.com>
    2025-05-16  9:50   ` [PATCHv2 1/3] x86/64/mm: Always use dynamic memory layout Ard Biesheuvel
         [not found] ` <20250516091534.3414310-3-kirill.shutemov@linux.intel.com>
    2025-05-16  9:51   ` [PATCHv2 2/3] x86/64/mm: Make SPARSEMEM_VMEMMAP the only memory model Ard Biesheuvel
         [not found] ` <20250516091534.3414310-4-kirill.shutemov@linux.intel.com>
    2025-05-16  9:54   ` [PATCHv2 3/3] x86/64/mm: Make 5-level paging support unconditional Ard Biesheuvel
    2025-05-16 10:42   ` Jürgen Groß
    2025-05-16 11:09     ` Kirill A. Shutemov
    2025-05-16 11:29       ` Jürgen Groß
    2025-05-16 11:47         ` Kirill A. Shutemov
    2025-05-16 11:51           ` Juergen Gross
    2025-05-16 11:51           ` Kirill A. Shutemov
    2025-05-16 15:30   ` Borislav Petkov
    2025-05-16 15:46     ` Ingo Molnar
    2025-05-16 15:56       ` Borislav Petkov
    2025-05-17  8:44         ` Ingo Molnar
    2025-06-24  8:11 ` [PATCHv2 0/3] x86: Make 5-level paging support unconditional for x86-64 Khalid Ali
    2025-06-24  8:22   ` H. Peter Anvin
    2025-06-24  8:49   ` Kirill A. Shutemov
         [not found] <20250516123306.3812286-1-kirill.shutemov@linux.intel.com>
    2025-06-24  8:23 ` Khalid Ali
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).