Skip to content

Commit 81d7dac

Browse files
author
Mamatha Inamdar
committed
Documentation/powerpc/fadump: add additional parameter feature details
JIRA: https://issues.redhat.com/browse/RHEL-74219 commit 61c403b Author: Sourabh Jain <[email protected]> Date: Thu Jan 23 17:12:54 2025 +0530 Documentation/powerpc/fadump: add additional parameter feature details Update the fadump document to include details about the fadump additional parameter feature. The document includes the following: - Significance of the feature - How to use it - Feature restrictions No functional changes are introduced. Signed-off-by: Sourabh Jain <[email protected]> Reviewed-by: Mahesh Salgaonkar <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mamatha Inamdar <[email protected]>
1 parent 211dde8 commit 81d7dac

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

Documentation/ABI/testing/sysfs-kernel-fadump

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ Date: May 2024
4444
4545
Description: read/write
4646
This is a special sysfs file available to setup additional
47-
parameters to be passed to capture kernel.
47+
parameters to be passed to capture kernel. For HASH MMU it
48+
is exported only if RMA size higher than 768MB.

Documentation/powerpc/firmware-assisted-dump.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,28 @@ to ensure that crash data is preserved to process later.
120120
e.g.
121121
# echo 1 > /sys/firmware/opal/mpipl/release_core
122122

123+
-- Support for Additional Kernel Arguments in Fadump
124+
Fadump has a feature that allows passing additional kernel arguments
125+
to the fadump kernel. This feature was primarily designed to disable
126+
kernel functionalities that are not required for the fadump kernel
127+
and to reduce its memory footprint while collecting the dump.
128+
129+
Command to Add Additional Kernel Parameters to Fadump:
130+
e.g.
131+
# echo "nr_cpus=16" > /sys/kernel/fadump/bootargs_append
132+
133+
The above command is sufficient to add additional arguments to fadump.
134+
An explicit service restart is not required.
135+
136+
Command to Retrieve the Additional Fadump Arguments:
137+
e.g.
138+
# cat /sys/kernel/fadump/bootargs_append
139+
140+
Note: Additional kernel arguments for fadump with HASH MMU is only
141+
supported if the RMA size is greater than 768 MB. If the RMA
142+
size is less than 768 MB, the kernel does not export the
143+
/sys/kernel/fadump/bootargs_append sysfs node.
144+
123145
Implementation details:
124146
-----------------------
125147

0 commit comments

Comments
 (0)