Commit 33f0dd97 authored by Chen Jiahao's avatar Chen Jiahao Committed by Palmer Dabbelt

docs: kdump: Update the crashkernel description for riscv

Now "crashkernel=" parameter on riscv has been updated to support
crashkernel=X,[high,low]. Through which we can reserve memory region
above/within 32bit addressible DMA zone.

Here update the parameter description accordingly.
Signed-off-by: default avatarChen Jiahao <chenjiahao16@huawei.com>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Acked-by: default avatarBaoquan He <bhe@redhat.com>
Link: https://lore.kernel.org/r/20230726175000.2536220-3-chenjiahao16@huawei.comSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 5882e5ac
...@@ -862,7 +862,7 @@ ...@@ -862,7 +862,7 @@
memory region [offset, offset + size] for that kernel memory region [offset, offset + size] for that kernel
image. If '@offset' is omitted, then a suitable offset image. If '@offset' is omitted, then a suitable offset
is selected automatically. is selected automatically.
[KNL, X86-64, ARM64] Select a region under 4G first, and [KNL, X86-64, ARM64, RISCV] Select a region under 4G first, and
fall back to reserve region above 4G when '@offset' fall back to reserve region above 4G when '@offset'
hasn't been specified. hasn't been specified.
See Documentation/admin-guide/kdump/kdump.rst for further details. See Documentation/admin-guide/kdump/kdump.rst for further details.
...@@ -875,14 +875,14 @@ ...@@ -875,14 +875,14 @@
Documentation/admin-guide/kdump/kdump.rst for an example. Documentation/admin-guide/kdump/kdump.rst for an example.
crashkernel=size[KMG],high crashkernel=size[KMG],high
[KNL, X86-64, ARM64] range could be above 4G. Allow kernel [KNL, X86-64, ARM64, RISCV] range could be above 4G.
to allocate physical memory region from top, so could Allow kernel to allocate physical memory region from top,
be above 4G if system have more than 4G ram installed. so could be above 4G if system have more than 4G ram
Otherwise memory region will be allocated below 4G, if installed. Otherwise memory region will be allocated
available. below 4G, if available.
It will be ignored if crashkernel=X is specified. It will be ignored if crashkernel=X is specified.
crashkernel=size[KMG],low crashkernel=size[KMG],low
[KNL, X86-64, ARM64] range under 4G. When crashkernel=X,high [KNL, X86-64, ARM64, RISCV] range under 4G. When crashkernel=X,high
is passed, kernel could allocate physical memory region is passed, kernel could allocate physical memory region
above 4G, that cause second kernel crash on system above 4G, that cause second kernel crash on system
that require some amount of low memory, e.g. swiotlb that require some amount of low memory, e.g. swiotlb
...@@ -893,6 +893,7 @@ ...@@ -893,6 +893,7 @@
size is platform dependent. size is platform dependent.
--> x86: max(swiotlb_size_or_default() + 8MiB, 256MiB) --> x86: max(swiotlb_size_or_default() + 8MiB, 256MiB)
--> arm64: 128MiB --> arm64: 128MiB
--> riscv: 128MiB
This one lets the user specify own low range under 4G This one lets the user specify own low range under 4G
for second kernel instead. for second kernel instead.
0: to disable low allocation. 0: to disable low allocation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment