diff options
author | 2022-05-06 19:44:01 +0800 | |
---|---|---|
committer | 2022-05-07 19:57:35 +0100 | |
commit | 8af6b91f58341325bf74ecb0389ddc0039091d84 (patch) | |
tree | 7b500461acf7623cf39030f2ff4dec02eb5cdf01 /scripts/gdb/linux/utils.py | |
parent | of: fdt: Add memory for devices by DT property "linux,usable-memory-range" (diff) | |
download | wireguard-linux-8af6b91f58341325bf74ecb0389ddc0039091d84.tar.xz wireguard-linux-8af6b91f58341325bf74ecb0389ddc0039091d84.zip |
of: Support more than one crash kernel regions for kexec -s
When "crashkernel=X,high" is used, there may be two crash regions:
high=crashk_res and low=crashk_low_res. But now the syscall
kexec_file_load() only add crashk_res into "linux,usable-memory-range",
this may cause the second kernel to have no available dma memory.
Fix it like kexec-tools does for option -c, add both 'high' and 'low'
regions into the dtb.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Baoquan He <bhe@redhat.com>
Link: https://lore.kernel.org/r/20220506114402.365-6-thunder.leizhen@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions