diff options
author | Chen Zhou <[email protected]> | 2022-05-06 19:43:59 +0800 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2022-05-07 19:54:33 +0100 |
commit | 944a45abfabc171fd121315ff0d5e62b11cb5d6f (patch) | |
tree | bceddfe1948986284e9ff090b6e695cf2e07ef4d /lib/mpi/mpi-sub-ui.c | |
parent | e6b394425c615d1596ce7d9de23a3a34ee2e612b (diff) |
arm64: kdump: Reimplement crashkernel=X
There are following issues in arm64 kdump:
1. We use crashkernel=X to reserve crashkernel in DMA zone, which
will fail when there is not enough low memory.
2. If reserving crashkernel above DMA zone, in this case, crash dump
kernel will fail to boot because there is no low memory available
for allocation.
To solve these issues, introduce crashkernel=X,[high,low].
The "crashkernel=X,high" is used to select a region above DMA zone, and
the "crashkernel=Y,low" is used to allocate specified size low memory.
Signed-off-by: Chen Zhou <[email protected]>
Co-developed-by: Zhen Lei <[email protected]>
Signed-off-by: Zhen Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions