Add extended crashkernel command line syntax
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Extended crashkernel command lineinclude/ kernel/ | +144 | 7 replies | |
| 2/7 | Use extended crashkernel command line on i386arch/ arch/ arch/ | +46 | 0 replies | |
| 3/7 | Use extended crashkernel command line on x86_64arch/ arch/ arch/ | +34 | 0 replies | |
| 4/7 | Use extended crashkernel command line on ia64arch/ arch/ include/ | +50 | 0 replies | |
| 5/7 | Use extended crashkernel command line on ppc64arch/ | +26 | 2 replies | |
| 6/7 | Use extended crashkernel command line on sharch/ arch/ | +33 | 0 replies | |
| 7/7 | Add documentation for extended crashkernel syntaxDocumentation/ Documentation/ | +33 | 0 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Paul Mundt | Oleg Verych |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | ||
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | A-b | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 0/7] 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, ia64, ppc64 and sh. That should be all platforms that support kdump in current mainline. I tested all platforms except sh due to the lack of a sh processor.
The patch series is against 2.6.23-rc8-mm1 and replaces following patches:
- extended-crashkernel-command-line.patch
- use-extended-crashkernel-command-line-on-i386.patch
- use-extended-crashkernel-command-line-on-i386-fix-config_nohighmem-for-extended-crashkernel-command-line.patch
- use-extended-crashkernel-command-line-on-i386-fix-config_nohighmem-for-extended-crashkernel-command-line-fix.patch
- use-extended-crashkernel-command-line-on-x86_64.patch
- use-extended-crashkernel-command-line-on-ia64.patch
- use-extended-crashkernel-command-line-on-ia64-fix.patch
- use-extended-crashkernel-command-line-on-ppc64.patch
- use-extended-crashkernel-command-line-on-sh.patch
- add-documentation-for-extended-crashkernel-syntax.patch
- add-documentation-for-extended-crashkernel-syntax-add-extended-crashkernel-syntax-to-kernel-parameterstxt.patch
Modifications compared to last submit:
- typecast to (unsigned long long) before shifting
- small coding style adjustments
- BUG_ON() in parse_crashkernel()
- merge patch that adds documentation do Documentation/kernel-parameters.txt in documentation patch (this has been an extra patch previously)
- fix build on IA64
- fix build on i386 with CONFIG_NOHIGHMEM