Thread (27 messages) 27 messages, 4 authors, 2022-04-11

Re: [PATCH v21 3/5] arm64: kdump: reimplement crashkernel=X

flat view

From: Baoquan He <hidden>
Date: 2022-03-17 02:39:01
Also in: kexec, linux-devicetree, linux-doc, lkml

On 02/27/22 at 11:07am, Zhen Lei wrote:
From: Chen Zhou <redacted>

There are following issues in arm64 kdump:
1. We use crashkernel=X to reserve crashkernel below 4G, which
will fail when there is no enough low memory.
2. If reserving crashkernel above 4G, in this case, crash dump
kernel will boot failure because there is no low memory available
              ~~ change it to "get boot failure" or "fail to boot"
for allocation.

To solve these issues, change the behavior of crashkernel=X and
introduce crashkernel=X,[high,low]. crashkernel=X tries low allocation
in DMA zone, and fall back to high allocation if it fails.
We can also use "crashkernel=X,high" to select a region above DMA zone,
which also tries to allocate at least 256M in DMA zone automatically.
"crashkernel=Y,low" can be used to allocate specified size low memory.

Signed-off-by: Chen Zhou <redacted>
Co-developed-by: Zhen Lei <redacted>
Signed-off-by: Zhen Lei <redacted>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help