Skip to content

Add extended crashkernel command line syntax

Bernhard Walle kexec linux-arch linux-ia64 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Extended crashkernel command lineinclude/linux/kexec.h kernel/kexec.c+141 -07 replies
2/5Use extended crashkernel command line on i386arch/i386/kernel/e820.c arch/i386/kernel/machine_kexec.c arch/i386/kernel/setup.c+30 -280 replies
3/5Use extended crashkernel command line on x86_64arch/x86_64/kernel/e820.c arch/x86_64/kernel/machine_kexec.c arch/x86_64/kernel/setup.c+30 -355 replies
4/5Use extended crashkernel command line on IA64arch/ia64/kernel/efi.c arch/ia64/kernel/setup.c include/asm-ia64/meminit.h+52 -442 replies
5/5Add documentation for extended crashkernel syntaxDocumentation/kdump/kdump.txt+26 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/5] Add extended crashkernel command line syntax

This patch adds a extended crashkernel syntax that makes the value of reserved system RAM dependent on the system RAM itself:

    crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
    range=start-[end]

For example:

    crashkernel=512M-2G:64M,2G-:128M

The motivation comes from distributors that configure their crashkernel command line automatically with some configuration tool (YaST, you know ;)). Of course that tool knows the value of System RAM, but if the user removes RAM, then the system becomes unbootable or at least unusable and error handling is very difficult.

This series implements this change for i386, x86_64 and IA64. However, if the patch is accepted, I can also add all other architectures that support Kdump (when my grepping was correct, this is only PPC64 and SH in addition). The "simple" syntax is of course still supported.