[PATCH 0/3] arch/mm: Drop similar platform overrides for pxdp_get()

From: Anshuman Khandual

Date: Wed Sep 23 2026 - 00:33:11 EST


There are many platforms with similar pxpd_get() overrides like the generic
memory default helpers which use READ_ONCE() for reading page table entries
These overrides could be dropped safely letting their platforms fallback on
the defaults instead. Although it requires some code movement from platform
headers to avoid build failures.

This series based on v7.3-rc4 although after the following patch.

https://lore.kernel.org/linux-mm/20260918064928.793742-1-anshuman.khandual@xxxxxxx/

Cc: David Hildenbrand <david@xxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>
Cc: Gerald Schaefer <gerald.schaefer@xxxxxxxxxxxxx>
Cc: Huacai Chen <chenhuacai@xxxxxxxxxx>
Cc: WANG Xuerui <kernel@xxxxxxxxxx>
Cc: “James E.J. Bottomley" <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
Cc: Helge Deller <deller@xxxxxx>
Cc: linux-mm@xxxxxxxxx
Cc: loongarch@xxxxxxxxxxxxxxx
Cc: linux-s390@xxxxxxxxxxxxxxx
Cc: linux-parisc@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx

Anshuman Khandual (3):
s390/mm: Drop all pxdp_get()
loongarch/mm: Drop all pxdp_get()
parisc/mm: Drop all pxdp_get()

arch/loongarch/include/asm/pgtable.h | 20 ++--------------
arch/loongarch/mm/init.c | 19 +++++++++++++++
arch/parisc/include/asm/pgtable.h | 20 +---------------
arch/parisc/mm/init.c | 13 +++++++++++
arch/s390/include/asm/pgtable.h | 35 ++++------------------------
5 files changed, 40 insertions(+), 67 deletions(-)

--
2.43.0