public inbox for linux-parisc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] parisc: Increase initial mapping to 64MB with KALLSYMS
@ 2026-03-03 22:36 deller
  2026-03-03 22:36 ` [PATCH 2/2] parisc: Fix initial kernel mapping sanity check deller
  0 siblings, 1 reply; 2+ messages in thread
From: deller @ 2026-03-03 22:36 UTC (permalink / raw)
  To: linux-parisc

From: Helge Deller <deller@gmx.de>

It seems 32MB initial mapping is too small when CONFIG_KALLSYMS
is set. Increase the mapping to 64MB in this case.

Signed-off-by: Helge Deller <deller@gmx.de>
---
 arch/parisc/include/asm/pgtable.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/parisc/include/asm/pgtable.h b/arch/parisc/include/asm/pgtable.h
index 2c139a4dbf4b..17afe7a59edf 100644
--- a/arch/parisc/include/asm/pgtable.h
+++ b/arch/parisc/include/asm/pgtable.h
@@ -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 */
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-03 22:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 22:36 [PATCH 1/2] parisc: Increase initial mapping to 64MB with KALLSYMS deller
2026-03-03 22:36 ` [PATCH 2/2] parisc: Fix initial kernel mapping sanity check deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox