]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
parisc: Increase initial mapping to 64 MB with KALLSYMS
authorHelge Deller <deller@gmx.de>
Tue, 3 Mar 2026 22:36:10 +0000 (23:36 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 6 Mar 2026 10:33:13 +0000 (11:33 +0100)
The 32MB initial kernel mapping can become too small when CONFIG_KALLSYMS
is used. Increase the mapping to 64 MB in this case.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v6.0+
arch/parisc/include/asm/pgtable.h

index 2c139a4dbf4b861e4df8b730e6d21d2858a82be3..17afe7a59edfded35cd9c0c26918e7561db4d6ca 100644 (file)
@@ -85,7 +85,7 @@ extern void __update_cache(pte_t pte);
        printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, (unsigned long)pgd_val(e))
 
 /* This is the size of the initially mapped kernel memory */
-#if defined(CONFIG_64BIT)
+#if defined(CONFIG_64BIT) || defined(CONFIG_KALLSYMS)
 #define KERNEL_INITIAL_ORDER   26      /* 1<<26 = 64MB */
 #else
 #define KERNEL_INITIAL_ORDER   25      /* 1<<25 = 32MB */