6k aarch64 has significant memory consumption more than 4k variant, and
requires an separated crashkernel formula.
This series generates the formula dynamiclly based on the system
environment.
v2->v3:
rebase onto Coiby's patch "Simplify the management of the kernel
parameter crashkernel"
set _crashkernel_add()'s boundary aligned on 1MB
fix the bash arithmetic expression
v1->v2:
split out a common function _crashkernel_add()
Pingfan Liu (3):
kdump-lib: Introduce a help function _crashkernel_add()
kdump-lib: add support for 64K aarch64
kdump-lib: Evaluate the memory consumption by smmu and mlx5 separately
kdump-lib.sh | 101 ++++++++++++++++++++++++++++++++++++++++-
kdumpctl | 3 +-
spec/kdump-lib_spec.sh | 20 ++++++++
3 files changed, 122 insertions(+), 2 deletions(-)
--
2.31.1