summaryrefslogtreecommitdiff
path: root/util_lib
diff options
context:
space:
mode:
authorChen Zhou <chenzhou10@huawei.com>2022-01-10 18:20:08 +0800
committerSimon Horman <horms@verge.net.au>2022-01-14 15:52:06 +0100
commitb5a34a20984c4ad27cc5054d9957af8130b42a50 (patch)
treeaf3af3c4ba448fb236324bc476b6f2f48107b4a7 /util_lib
parent186e7b0752d8fce1618fa37519671c834c46340e (diff)
arm64: support more than one crash kernel regions
When crashkernel is reserved above 4G in memory, kernel should reserve some amount of low memory for swiotlb and some DMA buffers. So there may be two crash kernel regions, one is below 4G, the other is above 4G. Currently, there is only one crash kernel region on arm64, and pass "linux,usable-memory-range = <BASE SIZE>" property to crash dump kernel. Now, we pass "linux,usable-memory-range = <BASE1 SIZE1 BASE2 SIZE2>" to crash dump kernel to support two crash kernel regions and load crash kernel high. Make the low memory region as the second range "BASE2 SIZE2" to keep compatibility with existing user-space and older kdump kernels. 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> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'util_lib')
0 files changed, 0 insertions, 0 deletions