[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d7d3d58e-8b48-ddca-1afd-d2181b2872c3@kernel.org>
Date: Wed, 14 Jan 2026 18:48:13 -0700 (MST)
From: Paul Walmsley <pjw@...nel.org>
To: "Christophe Leroy (CS GROUP)" <chleroy@...nel.org>,
Arnd Bergmann <arnd@...db.de>
cc: Catalin Marinas <catalin.marinas@....com>, Will Deacon <will@...nel.org>,
Paul Walmsley <pjw@...nel.org>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org, linux-arch@...r.kernel.org,
Peter Xu <peterx@...hat.com>, Oscar Salvador <osalvador@...e.de>,
Alexandre Ghiti <alexghiti@...osinc.com>
Subject: Re: [PATCH RESEND v2] asm-generic: Remove pud_user() from
pgtable-nopmd.h
Hi Arnd,
On Tue, 6 Jan 2026, Christophe Leroy (CS GROUP) wrote:
> Commit 2c8a81dc0cc5 ("riscv/mm: fix two page table check related
> issues") added pud_user() in include/asm-generic/pgtable-nopmd.h
>
> But pud_user() only exists on ARM64 and RISCV and is not expected
> by any part of MM.
>
> Add the missing definition in arch/riscv/include/asm/pgtable-32.h
> and remove it from asm-generic/pgtable-nopmd.h
>
> A stub pud_user() is also required for ARM64 after
> commit ed928a3402d8 ("arm64/mm: fix page table check compile
> error for CONFIG_PGTABLE_LEVELS=2")
>
> Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@...nel.org>
> Reviewed-by: Peter Xu <peterx@...hat.com>
> Reviewed-by: Oscar Salvador <osalvador@...e.de>
> Acked-by: Alexandre Ghiti <alexghiti@...osinc.com> # riscv
> Acked-by: Catalin Marinas <catalin.marinas@....com>
> ---
> Who should take this patch ? I expected it to be merged by Arnd as asm-generic maintainer but this is the second time I resend.
>
> Should the patch go via riscv tree instead as the undue pud_user() was initialy introduced by riscv ?
>
> v2: Change ARM64 pud_user macro to pud_user(pud)
This one looks like it should go upstream through you?
If you'd prefer arch/riscv to pick it up, let us know.
thanks,
- Paul
Powered by blists - more mailing lists