Skip to content

Make use of new memmap= kernel parameter syntax

Thomas Renninger kexec 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kexec: Split kernel_version() to also be able to pass a release stringkexec/arch/i386/crashdump-x86.c kexec/kernel_version.c kexec/kexec.h+22 -160 replies
1/3x86 e820: Check for exactmap appearance when parsing first memmap optionarch/x86/kernel/e820.c+12 -01 reply
2/3kexec x86: Extract kernel version and convert it to KERNEL_VERSION() stylekexec/arch/i386/kexec-bzImage.c kexec/arch/i386/kexec-x86.h+12 -20 replies
2/3x86: Introduce Linux kernel specific E820_RESERVED_KDUMP e820 memory range typearch/x86/include/uapi/asm/e820.h arch/x86/kernel/e820.c+17 -60 replies
3/3kexec x86: Make kexec aware of new memmap= kernel parameter possibilitieskexec/arch/i386/crashdump-x86.c+34 -120 replies
3/3x86 e820: Introduce memmap=kdump_reserve_usable for kdump usageDocumentation/kernel-parameters.txt arch/x86/kernel/e820.c+29 -20 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchThomas Renninger
1/3R-b
1/3R-b
2/3
2/3
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Make use of new memmap= kernel parameter syntax

Details were discussed on quite some lists (kexec, lkml, x86, etc) in a kernel thread with subject:
[PATCH] x86 e820: only void usable memory areas in memmap=exactmap case

The patch that memmap= can take several arguments is already queued in linux-x86-tip in the mm2 branch.

There have been no objections on the introduction to memmap=resetusablemap for several days after discussing things in detail. The repost patches (will do that now) propably will show up in x86-tip mainline kernel tree pretty soon as well.
Target for this feature to show up in Linus' tree is 3.9-rc1. Therefore these patches check for 3.9.0 and newer kernels. If such a kernel is tried to get loaded via kexec -p, the new memmap= syntax is used.

Please consider to apply these to the kexec-tools repository.

Thanks,

Thomas

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec