arm64: kdump: Provide default size when crashkernel=Y,low is not specified
authorZhen Lei <thunder.leizhen@huawei.com>
Wed, 16 Nov 2022 12:10:43 +0000 (20:10 +0800)
committerWill Deacon <will@kernel.org>
Fri, 18 Nov 2022 14:14:35 +0000 (14:14 +0000)
commita149cf00b158e1793a8dd89ca492379c366300d2
tree6a931e350f9b3dedeb622c9c01025375673a570a
parentf0c4d9fc9cc9462659728d168387191387e903cc
arm64: kdump: Provide default size when crashkernel=Y,low is not specified

Try to allocate at least 128 MiB low memory automatically for the case
that crashkernel=,high is explicitly specified, while crashkenrel=,low
is omitted. This allows users to focus more on the high memory
requirements of their business rather than the low memory requirements
of the crash kernel booting.

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-2-thunder.leizhen@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/mm/init.c