Skip to content

x86, kdump: Fix crashkernel high with old kexec-tools

Yinghai Lu lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchVivek GoyalWANG Chao
SeriesA-b A-b A-b A-b T-b

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 -v6 0/4] x86, kdump: Fix crashkernel high with old kexec-tools

Vivek found some problems with old kexec-tools.

We keep the old crashkernel=X to old behavoir, so it will not break old kexec-tools.
Add crashkernel=X,high to support new kexec-tools that supports loading high. when high is used, memblock will search from top to low.
if the allocated one is above 4G, kernel will try to auto allocate 72M under 4G for swiotlb.
user could crashkernel=Y,low to change 72M to other value.

-v2: reorder the patch sequences
crashkernel=X,high, crashkernel=Y,low only handle simple form. crashkernel=X will override crashkernel=X;high crashkernel=Y;low
-v3: update description in kernel-parameters.txt
update get_last_crashkernel and _simple checking about suffix.
-v4: update to use ,high again, and also not abuse parse_crashkernel_simple
-v5: tight checking about crashkernel=X,highextra,high
-v6: update one comments according to hpa.

Thanks

Yinghai