Skip to content

powerpc/kexec: automatically allocating mem for crashkernel=Y

Pingfan Liu linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/prom: move mmu_early_init_devtree() before early_init_dt_scan_cpus()arch/powerpc/kernel/prom.c+1 -20 replies
2/2powerpc/kexec: avoid hard coding when automatically allocating mem for crashkernelarch/powerpc/kernel/machine_kexec.c arch/powerpc/kernel/prom.c+20 -111 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] powerpc/kexec: automatically allocating mem for crashkernel=Y

If no start address is specified for crashkernel, the current program hard code as: crashk_res.start = min(0x8000000ULL, (ppc64_rma_size / 2)); This limits the candidate memory region, and may cause failure while there is enough mem for crashkernel. This patch suggests to find a suitable mem chunk by memblock_find_in_range()

Cc Benjamin Herrenschmidt <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Hari Bathini <[email protected]>
Cc Mahesh Salgaonkar <[email protected]>
Cc Anton Blanchard <[email protected]>

Pingfan Liu (2):
powerpc/prom: move mmu_early_init_devtree() before
early_init_dt_scan_cpus()
powerpc/kexec: avoid hard coding when automatically allocating mem for
crashkernel

 arch/powerpc/kernel/machine_kexec.c | 24 +++++++++++++++---------
 arch/powerpc/kernel/prom.c          | 10 ++++++----
 2 files changed, 21 insertions(+), 13 deletions(-)
Signature · 1 line
2.7.4