arm64/kexec: Fix missing extra range for crashkres_low.
authorLevi Yun <ppbuk5246@gmail.com>
Wed, 31 Aug 2022 10:39:13 +0000 (19:39 +0900)
committerWill Deacon <will@kernel.org>
Thu, 1 Sep 2022 10:50:00 +0000 (11:50 +0100)
commit4831be702b95047c89b3fa5728d07091e9e9f7c9
tree4b7d77210b29ce57383dbb9cf6f1ffd3ce231b28
parent714f3cbd70a4db9f9b7fe5b8a032896ed33fb824
arm64/kexec: Fix missing extra range for crashkres_low.

Like crashk_res, Calling crash_exclude_mem_range function with
crashk_low_res area would need extra crash_mem range too.

Add one more extra cmem slot in case of crashk_low_res is used.

Signed-off-by: Levi Yun <ppbuk5246@gmail.com>
Fixes: 944a45abfabc ("arm64: kdump: Reimplement crashkernel=X")
Cc: <stable@vger.kernel.org> # 5.19.x
Acked-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220831103913.12661-1-ppbuk5246@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/machine_kexec_file.c