]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scripts/gdb: rework module VA range
authorKuan-Ying Lee <kuan-ying.lee@canonical.com>
Wed, 19 Jun 2024 07:49:07 +0000 (15:49 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 29 Jun 2024 02:36:28 +0000 (19:36 -0700)
After we enlarge the module VA range, we also change the module VA
range in gdb scripts.

Link: https://lkml.kernel.org/r/20240619074911.100434-3-kuan-ying.lee@canonical.com
Fixes: 3e35d303ab7d ("arm64: module: rework module VA range selection")
Signed-off-by: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/mm.py

index 30738f174fe2e8f898c06ce1a3c387cc34f6b765..e0461248abe2629d9e703775658fe2343f8f8df2 100644 (file)
@@ -33,7 +33,7 @@ class aarch64_page_ops():
     def __init__(self):
         self.SUBSECTION_SHIFT = 21
         self.SEBSECTION_SIZE = 1 << self.SUBSECTION_SHIFT
-        self.MODULES_VSIZE = 128 * 1024 * 1024
+        self.MODULES_VSIZE = 2 * 1024 * 1024 * 1024
 
         if constants.LX_CONFIG_ARM64_64K_PAGES:
             self.SECTION_SIZE_BITS = 29