Skip to content

Commit 33f0dd9

Browse files
Chen Jiahaopalmer-dabbelt
authored andcommitted
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: Chen Jiahao <[email protected]> Reviewed-by: Guo Ren <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Zhen Lei <[email protected]> Acked-by: Baoquan He <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 5882e5a commit 33f0dd9

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@
862862
memory region [offset, offset + size] for that kernel
863863
image. If '@offset' is omitted, then a suitable offset
864864
is selected automatically.
865-
[KNL, X86-64, ARM64] Select a region under 4G first, and
865+
[KNL, X86-64, ARM64, RISCV] Select a region under 4G first, and
866866
fall back to reserve region above 4G when '@offset'
867867
hasn't been specified.
868868
See Documentation/admin-guide/kdump/kdump.rst for further details.
@@ -875,14 +875,14 @@
875875
Documentation/admin-guide/kdump/kdump.rst for an example.
876876

877877
crashkernel=size[KMG],high
878-
[KNL, X86-64, ARM64] range could be above 4G. Allow kernel
879-
to allocate physical memory region from top, so could
880-
be above 4G if system have more than 4G ram installed.
881-
Otherwise memory region will be allocated below 4G, if
882-
available.
878+
[KNL, X86-64, ARM64, RISCV] range could be above 4G.
879+
Allow kernel to allocate physical memory region from top,
880+
so could be above 4G if system have more than 4G ram
881+
installed. Otherwise memory region will be allocated
882+
below 4G, if available.
883883
It will be ignored if crashkernel=X is specified.
884884
crashkernel=size[KMG],low
885-
[KNL, X86-64, ARM64] range under 4G. When crashkernel=X,high
885+
[KNL, X86-64, ARM64, RISCV] range under 4G. When crashkernel=X,high
886886
is passed, kernel could allocate physical memory region
887887
above 4G, that cause second kernel crash on system
888888
that require some amount of low memory, e.g. swiotlb
@@ -893,6 +893,7 @@
893893
size is platform dependent.
894894
--> x86: max(swiotlb_size_or_default() + 8MiB, 256MiB)
895895
--> arm64: 128MiB
896+
--> riscv: 128MiB
896897
This one lets the user specify own low range under 4G
897898
for second kernel instead.
898899
0: to disable low allocation.

0 commit comments

Comments
 (0)