arm64: kdump: Support crashkernel=X fall back to reserve region above DMA zones
authorZhen Lei <thunder.leizhen@huawei.com>
Wed, 16 Nov 2022 12:10:44 +0000 (20:10 +0800)
committerWill Deacon <will@kernel.org>
Fri, 18 Nov 2022 14:14:35 +0000 (14:14 +0000)
commita9ae89df737756d92f0e14873339cf393f7f7eb0
tree62be9596eeb9d5b7e27cdae5aa87b0ea1746a4b3
parenta149cf00b158e1793a8dd89ca492379c366300d2
arm64: kdump: Support crashkernel=X fall back to reserve region above DMA zones

For crashkernel=X without '@offset', select a region within DMA zones
first, and fall back to reserve region above DMA zones. This allows
users to use the same configuration on multiple platforms.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20221116121044.1690-3-thunder.leizhen@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/mm/init.c