Skip to content

Commit a6da4d6

Browse files
dczhupaulburton
authored andcommitted
MIPS: kexec: Relax memory restriction
We can rely on the system kernel and the dump capture kernel themselves in memory usage. Being restrictive with 512MB limit may cause kexec tool failure on some platforms. Tested-by: Rachel Mozes <rachel.mozes@intel.com> Reported-by: Rachel Mozes <rachel.mozes@intel.com> Signed-off-by: Dengcheng Zhu <dzhu@wavecomp.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20568/ Cc: pburton@wavecomp.com Cc: ralf@linux-mips.org Cc: linux-mips@linux-mips.org
1 parent 1447864 commit a6da4d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/mips/include/asm/kexec.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
#include <asm/stacktrace.h>
1313

1414
/* Maximum physical address we can use pages from */
15-
#define KEXEC_SOURCE_MEMORY_LIMIT (0x20000000)
15+
#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
1616
/* Maximum address we can reach in physical address mode */
17-
#define KEXEC_DESTINATION_MEMORY_LIMIT (0x20000000)
17+
#define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL)
1818
/* Maximum address we can use for the control code buffer */
19-
#define KEXEC_CONTROL_MEMORY_LIMIT (0x20000000)
19+
#define KEXEC_CONTROL_MEMORY_LIMIT (-1UL)
2020
/* Reserve 3*4096 bytes for board-specific info */
2121
#define KEXEC_CONTROL_PAGE_SIZE (4096 + 3*4096)
2222

0 commit comments

Comments
 (0)