diff options
author | Chen Zhou <chenzhou10@huawei.com> | 2022-05-06 19:43:59 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-05-07 19:54:33 +0100 |
commit | 944a45abfabc171fd121315ff0d5e62b11cb5d6f (patch) | |
tree | bceddfe1948986284e9ff090b6e695cf2e07ef4d /arch/arm64/mm/context.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 <chenzhou10@huawei.com>
Co-developed-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20220506114402.365-4-thunder.leizhen@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/context.c')
0 files changed, 0 insertions, 0 deletions