Skip to contentSkip to conversation

scripts-gdb-implement-x86_page_ops-in-mmpy.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Feb 12

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: scripts/gdb: implement x86_page_ops in mm.py
has been removed from the -mm tree. Its filename was
scripts-gdb-implement-x86_page_ops-in-mmpy.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Seongjun Hong <[email protected]>
Subject: scripts/gdb: implement x86_page_ops in mm.py
Date: Mon, 2 Feb 2026 12:42:41 +0900

Implement all member functions of x86_page_ops strictly following the logic of aarch64_page_ops.

This includes full support for SPARSEMEM and standard page translation functions.

This fixes compatibility with 'lx-' commands on x86_64, preventing AttributeErrors when using lx-pfn_to_page and others.

---

 scripts/gdb/linux/constants.py.in |    2 
 scripts/gdb/linux/mm.py           |  173 +++++++++++++++++++++++++++-
 2 files changed, 173 insertions(+), 2 deletions(-)
scripts/gdb/linux/constants.py.in renamed from scripts/gdb/linux/constants.py.in~scripts-gdb-implement-x86_page_ops-in-mmpy +1 -1
@@ -150,8 +150,8 @@ LX_CONFIG(CONFIG_ARM64_64K_PAGES)
 if IS_BUILTIN(CONFIG_ARM64):
     LX_VALUE(CONFIG_ARM64_PA_BITS)
     LX_VALUE(CONFIG_ARM64_VA_BITS)
-    LX_VALUE(CONFIG_PAGE_SHIFT)
     LX_VALUE(CONFIG_ARCH_FORCE_MAX_ORDER)
+LX_VALUE(CONFIG_PAGE_SHIFT)
 LX_CONFIG(CONFIG_SPARSEMEM)
 LX_CONFIG(CONFIG_SPARSEMEM_EXTREME)
 LX_CONFIG(CONFIG_SPARSEMEM_VMEMMAP)
scripts/gdb/linux/mm.py renamed from scripts/gdb/linux/mm.py~scripts-gdb-implement-x86_page_ops-in-mmpy +172 -1

180 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are