Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] arm64: Add PUD THP support for DAX and pfnmap
@ 2026-11-17  2:02 Jinjiang Tu
  2026-11-17  2:02 ` [PATCH v2 1/4] mm: define generic pudp_invalidate() implementation Jinjiang Tu
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jinjiang Tu @ 2026-11-17  2:02 UTC (permalink / raw)
  To: akpm, david, ljs, catalin.marinas, will, mark.rutland,
	ryan.roberts, peterx, dave.jiang, linux-arm-kernel, linux-mm
  Cc: wangkefeng.wang, sunnanyong, tujinjiang

This series adds PUD THP support for arm64, enabling PUD THP for DAX
and pfnmap.

Patch 1 moves the identical pudp_invalidate() implementations from x86
and riscv to a generic location so arm64 can reuse it.

Patch 2 is a minor cleanup that simplifies pmd_special/pmd_mkspecial.

Patch 3 adds the necessary spurious PUD fault fix and PUD page table
helpers and selects HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD.

Changes since v1:
 * fix issues reported by sashiko

Jinjiang Tu (4):
  mm: define generic pudp_invalidate() implementation
  arm64: simplify pmd_special and pmd_mkspecial
  mm: add spurious fault fixing support for huge pud
  arm64: Add PUD THP support for DAX and pfnmap

 arch/arm64/Kconfig                           |   1 +
 arch/arm64/include/asm/pgtable.h             | 104 +++++++++++++++----
 arch/powerpc/include/asm/book3s/64/pgtable.h |   1 +
 arch/riscv/include/asm/pgtable.h             |   3 -
 arch/riscv/mm/pgtable.c                      |   9 --
 arch/x86/include/asm/pgtable.h               |   3 -
 arch/x86/mm/pgtable.c                        |  12 ---
 include/linux/huge_mm.h                      |   5 +-
 include/linux/pgtable.h                      |  11 ++
 mm/huge_memory.c                             |  17 +--
 mm/internal.h                                |   2 +-
 mm/memory.c                                  |  14 ++-
 mm/pgtable-generic.c                         |  14 +++
 13 files changed, 131 insertions(+), 65 deletions(-)

-- 
2.54.0



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

end of thread, other threads:[~2026-11-18  2:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17  2:02 [PATCH v2 0/4] arm64: Add PUD THP support for DAX and pfnmap Jinjiang Tu
2026-11-17  2:02 ` [PATCH v2 1/4] mm: define generic pudp_invalidate() implementation Jinjiang Tu
2026-11-17 21:32   ` David Hildenbrand (Arm)
2026-11-17  2:02 ` [PATCH v2 2/4] arm64: simplify pmd_special and pmd_mkspecial Jinjiang Tu
2026-11-17  2:02 ` [PATCH v2 3/4] mm: add spurious fault fixing support for huge pud Jinjiang Tu
2026-11-18  2:03   ` sashiko-bot
2026-11-17  2:02 ` [PATCH v2 4/4] arm64: Add PUD THP support for DAX and pfnmap Jinjiang Tu

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