Skip to content

Commit e501733

Browse files
Brian Malyjfvogel
authored andcommitted
aarch64: increase DEFAULT_CRASH_KERNEL_LOW_SIZE for kdump
Increase minimum lowmem reservation for crashkernel to 256M for aarch64. Without this fix we hit allocation failures in kdump environment when loading modules and when dumping vmcore over NFS. Orabug: 37446372 Signed-off-by: Brian Maly <[email protected]> Reviewed-by: Jack Vogel <[email protected]>
1 parent a674fc7 commit e501733

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/crash_reserve.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ int __init parse_crashkernel(char *cmdline, unsigned long long system_ram,
2020

2121
#ifdef CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
2222
#ifndef DEFAULT_CRASH_KERNEL_LOW_SIZE
23+
#ifdef __aarch64__
24+
#define DEFAULT_CRASH_KERNEL_LOW_SIZE (256UL << 20)
25+
#else
2326
#define DEFAULT_CRASH_KERNEL_LOW_SIZE (128UL << 20)
2427
#endif
28+
#endif
2529
#ifndef CRASH_ALIGN
2630
#define CRASH_ALIGN SZ_2M
2731
#endif

0 commit comments

Comments
 (0)