From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Anshuman Khandual <anshuman.khandual@arm.com>,
linux-mm@kvack.org, akpm@linux-foundation.org
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>,
Rich Felker <dalias@libc.org>,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
Helge Deller <deller@gmx.de>, Huacai Chen <chenhuacai@kernel.org>,
WANG Xuerui <kernel@xen0n.name>,
linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org,
linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev,
linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org,
linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org,
linux-s390@vger.kernel.org, linux-sh@vger.kernel.org,
sparclinux@vger.kernel.org, linux-um@lists.infradead.org,
linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: [RFC V3 8/8] mm: Drop pxd_ERROR()
Date: Tue, 18 Aug 2026 19:26:57 +0200 [thread overview]
Message-ID: <276c385a-371f-4971-b50d-520d3faf5364@kernel.org> (raw)
In-Reply-To: <20260818040041.1891769-9-anshuman.khandual@arm.com>
On 8/18/26 06:00, Anshuman Khandual wrote:
> There are no more users left for any pxd_ERROR() either in generic MM or in
> the platform MM. Hence all these platform macros along with their generic
> fallback could be dropped across the tree.
>
> Cc: linux-alpha@vger.kernel.org
> Cc: linux-snps-arc@lists.infradead.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-csky@vger.kernel.org
> Cc: linux-hexagon@vger.kernel.org
> Cc: loongarch@lists.linux.dev
> Cc: linux-m68k@lists.linux-m68k.org
> Cc: linux-mips@vger.kernel.org
> Cc: linux-openrisc@vger.kernel.org
> Cc: linux-parisc@vger.kernel.org
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: linux-riscv@lists.infradead.org
> Cc: linux-s390@vger.kernel.org
> Cc: linux-sh@vger.kernel.org
> Cc: sparclinux@vger.kernel.org
> Cc: linux-um@lists.infradead.org
> Cc: linux-arch@vger.kernel.org
> Cc: linux-mm@kvack.org
> Cc: linux-kernel@vger.kernel.org
> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> # m68k
> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
> ---
> Changes in RFC V3
>
> - Moved ptrval_to_str() as header in a [PATCH 1/8]
> - Stopped using pxd_ERROR() in generic MM in [PATCH 2/8]
> - Dropped pxd_ERRO() macros from all platforms in this patch
>
> arch/alpha/include/asm/pgtable.h | 7 -------
> arch/arc/include/asm/pgtable-levels.h | 11 -----------
> arch/arm/include/asm/pgtable.h | 7 -------
> arch/arm/kernel/traps.c | 17 -----------------
> arch/arm64/include/asm/pgtable.h | 15 ---------------
> arch/csky/include/asm/pgtable.h | 4 ----
> arch/hexagon/include/asm/pgtable.h | 3 ---
> arch/loongarch/include/asm/pgtable.h | 11 -----------
> arch/m68k/include/asm/mcf_pgtable.h | 6 ------
> arch/m68k/include/asm/motorola_pgtable.h | 8 --------
> arch/m68k/include/asm/sun3_pgtable.h | 7 -------
> arch/microblaze/include/asm/pgtable.h | 7 -------
> arch/mips/include/asm/pgtable-32.h | 10 ----------
> arch/mips/include/asm/pgtable-64.h | 13 -------------
> arch/nios2/include/asm/pgtable.h | 7 -------
> arch/openrisc/include/asm/pgtable.h | 7 -------
> arch/parisc/include/asm/pgtable.h | 9 ---------
> arch/powerpc/include/asm/book3s/32/pgtable.h | 2 --
> arch/powerpc/include/asm/book3s/64/pgtable.h | 7 -------
> arch/powerpc/include/asm/nohash/32/pgtable.h | 2 --
> .../powerpc/include/asm/nohash/64/pgtable-4k.h | 3 ---
> arch/powerpc/include/asm/nohash/64/pgtable.h | 5 -----
> arch/riscv/include/asm/pgtable-64.h | 9 ---------
> arch/riscv/include/asm/pgtable.h | 4 ----
> arch/s390/include/asm/pgtable.h | 11 -----------
> arch/sh/include/asm/pgtable-3level.h | 3 ---
> arch/sh/include/asm/pgtable_32.h | 8 --------
> arch/sparc/include/asm/pgtable_32.h | 3 ---
> arch/sparc/include/asm/pgtable_64.h | 10 ----------
> arch/um/include/asm/pgtable-2level.h | 7 -------
> arch/um/include/asm/pgtable-4level.h | 13 -------------
> arch/x86/include/asm/pgtable-2level.h | 5 -----
> arch/x86/include/asm/pgtable-3level.h | 11 -----------
> arch/x86/include/asm/pgtable_64.h | 18 ------------------
> arch/xtensa/include/asm/pgtable.h | 4 ----
> include/asm-generic/pgtable-nop4d.h | 1 -
> include/asm-generic/pgtable-nopmd.h | 1 -
> include/asm-generic/pgtable-nopud.h | 1 -
> 38 files changed, 277 deletions(-)
Nice
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
--
Cheers,
David
prev parent reply other threads:[~2026-08-18 17:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 4:00 [RFC V3 0/8] mm: Drop pxd_ERROR() Anshuman Khandual
2026-08-18 4:00 ` [RFC V3 1/8] mm: Make ptrval_to_str() generally available Anshuman Khandual
2026-08-18 17:25 ` David Hildenbrand (Arm)
2026-08-18 4:00 ` [RFC V3 2/8] mm: Stop using pxd_ERROR() Anshuman Khandual
2026-08-18 17:25 ` David Hildenbrand (Arm)
2026-08-18 4:00 ` [RFC V3 3/8] loongarch/mm: Stop using pte_ERROR() Anshuman Khandual
2026-08-18 17:25 ` David Hildenbrand (Arm)
2026-08-18 4:00 ` [RFC V3 4/8] parisc/mm: Directly use generic [pmd|pgd]_clear_bad() Anshuman Khandual
2026-08-18 4:00 ` [RFC V3 5/8] sh/mm: Stop using pte_ERROR() Anshuman Khandual
2026-08-18 17:26 ` David Hildenbrand (Arm)
2026-08-18 4:00 ` [RFC V3 6/8] sh/mm: Stop using [p4d|pud|pmd]_ERROR() Anshuman Khandual
2026-08-18 4:00 ` [RFC V3 7/8] sh/mm: Stop using pgd_ERROR() Anshuman Khandual
2026-08-18 4:00 ` [RFC V3 8/8] mm: Drop pxd_ERROR() Anshuman Khandual
2026-08-18 17:26 ` David Hildenbrand (Arm) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=276c385a-371f-4971-b50d-520d3faf5364@kernel.org \
--to=david@kernel.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=chenhuacai@kernel.org \
--cc=dalias@libc.org \
--cc=deller@gmx.de \
--cc=geert@linux-m68k.org \
--cc=glaubitz@physik.fu-berlin.de \
--cc=kernel@xen0n.name \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-csky@vger.kernel.org \
--cc=linux-hexagon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-openrisc@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=linux-um@lists.infradead.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=loongarch@lists.linux.dev \
--cc=sparclinux@vger.kernel.org \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox