]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: crash_core: Export MODULES, VMALLOC, and VMEMMAP ranges
authorHuang Shijie <shijie@os.amperecomputing.com>
Wed, 9 Feb 2022 09:26:42 +0000 (09:26 +0000)
committerWill Deacon <will@kernel.org>
Mon, 7 Mar 2022 21:25:47 +0000 (21:25 +0000)
commit98383ed41154cd48a23ad7765572ec79e02bd5cc
treec96c9d94249053d2f46c15520192a74bb3479974
parentd440e66082f3089c2af8edd058826375d44a276f
arm64: crash_core: Export MODULES, VMALLOC, and VMEMMAP ranges

The following interrelated ranges are needed by the kdump crash tool:
MODULES_VADDR ~ MODULES_END,
VMALLOC_START ~ VMALLOC_END,
VMEMMAP_START ~ VMEMMAP_END

Since these values change from time to time, it is preferable to export
them via vmcoreinfo than to change the crash's code frequently.

Signed-off-by: Huang Shijie <shijie@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20220209092642.9181-1-shijie@os.amperecomputing.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/kdump/vmcoreinfo.rst
arch/arm64/kernel/crash_core.c