* [merged mm-stable] sh-mm-stop-using-pgd_error.patch removed from -mm tree
@ 2026-10-07 0:51 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-10-07 0:51 UTC (permalink / raw)
To: mm-commits, ysato, samuel.holland, rppt, ljs, kernel,
james.bottomley, glaubitz, geert, deller, david, dalias,
chenhuacai, anshuman.khandual, akpm
The quilt patch titled
Subject: sh/mm: stop using pgd_ERROR()
has been removed from the -mm tree. Its filename was
sh-mm-stop-using-pgd_error.patch
This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Anshuman Khandual <anshuman.khandual@arm.com>
Subject: sh/mm: stop using pgd_ERROR()
Date: Mon, 31 Aug 2026 11:13:29 +0530
Stop using pgd_ERROR() in __get_pte_phys() when page table entry is
already known to be empty.
Link: https://lore.kernel.org/20260831054331.625505-8-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Helge Deller <deller@gmx.de>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: James Bottomley <james.bottomley@HansenPartnership.com>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: Samuel Holland <samuel.holland@sifive.com>
Cc: WANG Xuerui <kernel@xen0n.name>
---
arch/sh/mm/init.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/arch/sh/mm/init.c~sh-mm-stop-using-pgd_error
+++ a/arch/sh/mm/init.c
@@ -52,10 +52,8 @@ static pte_t *__get_pte_phys(unsigned lo
pmd_t *pmd;
pgd = pgd_offset_k(addr);
- if (pgd_none(*pgd)) {
- pgd_ERROR(*pgd);
+ if (pgd_none(*pgd))
return NULL;
- }
p4d = p4d_alloc(NULL, pgd, addr);
if (unlikely(!p4d)) {
_
Patches currently in -mm which might be from anshuman.khandual@arm.com are
mm-constify-arguments-in-default-pxdp_get.patch
arm64-mm-move-__check_safe_pte_update.patch
arm64-mm-standardize-printing-for-pgtable-entries.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 0:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07 0:51 [merged mm-stable] sh-mm-stop-using-pgd_error.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.