All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hari Bathini <hbathini@linux.ibm.com>
To: Sourabh Jain <sourabhjain@linux.ibm.com>, linuxppc-dev@lists.ozlabs.org
Cc: Avnish Chouhan <avnish@linux.ibm.com>,
	Brian King <brking@linux.ibm.com>,
	Madhavan Srinivasan <maddy@linux.ibm.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Mahesh Salgaonkar <mahesh@linux.ibm.com>
Subject: Re: [PATCH v3 4/4] Documentation/powerpc/fadump: add additional parameter feature details
Date: Mon, 10 Feb 2025 12:46:00 +0530	[thread overview]
Message-ID: <a99f2ed0-ebd0-48eb-83bd-3798de8cb28a@linux.ibm.com> (raw)
In-Reply-To: <20250123114254.200527-5-sourabhjain@linux.ibm.com>

Hi Sourabh,

Thanks for updating the documentation..

On 23/01/25 5:12 pm, Sourabh Jain wrote:
> 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.
> 
> Cc: Avnish Chouhan <avnish@linux.ibm.com>
> Cc: Brian King <brking@linux.ibm.com>
> Cc: Hari Bathini <hbathini@linux.ibm.com>
> Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Mahesh Salgaonkar <mahesh@linux.ibm.com>
> Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
> ---
>   Documentation/ABI/testing/sysfs-kernel-fadump |  3 ++-
>   .../arch/powerpc/firmware-assisted-dump.rst   | 22 +++++++++++++++++++
>   2 files changed, 24 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump b/Documentation/ABI/testing/sysfs-kernel-fadump
> index 2f9daa7ca55b..b64b7622e6fc 100644
> --- a/Documentation/ABI/testing/sysfs-kernel-fadump
> +++ b/Documentation/ABI/testing/sysfs-kernel-fadump
> @@ -55,4 +55,5 @@ Date:		May 2024
>   Contact:	linuxppc-dev@lists.ozlabs.org
>   Description:	read/write
>   		This is a special sysfs file available to setup additional
> -		parameters to be passed to capture kernel.
> +		parameters to be passed to capture kernel. For HASH MMU it
> +		is exported only if RMA size higher than 768MB.
> diff --git a/Documentation/arch/powerpc/firmware-assisted-dump.rst b/Documentation/arch/powerpc/firmware-assisted-dump.rst
> index 7e37aadd1f77..7e266e749cd5 100644
> --- a/Documentation/arch/powerpc/firmware-assisted-dump.rst
> +++ b/Documentation/arch/powerpc/firmware-assisted-dump.rst
> @@ -120,6 +120,28 @@ to ensure that crash data is preserved to process later.
>      e.g.
>        # echo 1 > /sys/firmware/opal/mpipl/release_core
>
    > +-- Support for Additional Kernel Arguments in Fadump

"Support to add additional kernel parameters to FADump capture kernel" ?

> +   Fadump has a feature that allows passing additional kernel arguments
> +   to the fadump kernel. This feature was primarily designed to disable
> +   kernel functionalities that are not required for the fadump kernel
> +   and to reduce its memory footprint while collecting the dump.

The below details are more appropriate in "Sysfs/debugfs files:" section
with the details going under /sys/kernel/fadump/bootargs_append:

> +
> +  Command to Add Additional Kernel Parameters to Fadump:

Do those words really need to start with Uppercase?

> +  e.g.
> +  # echo "nr_cpus=16" > /sys/kernel/fadump/bootargs_append
> +
> +  The above command is sufficient to add additional arguments to fadump.
> +  An explicit service restart is not required.
> +
> +  Command to Retrieve the Additional Fadump Arguments:
> +  e.g.
> +  # cat /sys/kernel/fadump/bootargs_append
> +


> +Note: Additional kernel arguments for fadump with HASH MMU is only
> +      supported if the RMA size is greater than 768 MB. If the RMA
> +      size is less than 768 MB, the kernel does not export the
> +      /sys/kernel/fadump/bootargs_append sysfs node.
> +

- Hari


  parent reply	other threads:[~2025-02-10  7:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-23 11:42 [PATCH v3 0/4] powerpc: increase MIN RMA size for CAS negotiation Sourabh Jain
2025-01-23 11:42 ` [PATCH v3 1/4] powerpc: export MIN RMA size Sourabh Jain
2025-01-23 11:42 ` [PATCH v3 2/4] powerpc/fadump: fix additional param memory reservation for HASH MMU Sourabh Jain
2025-02-10  7:18   ` Hari Bathini
2025-02-11  3:49     ` Sourabh Jain
2025-01-23 11:42 ` [PATCH v3 3/4] powerpc: increase MIN RMA size for CAS negotiation Sourabh Jain
2025-01-23 11:42 ` [PATCH v3 4/4] Documentation/powerpc/fadump: add additional parameter feature details Sourabh Jain
2025-01-26 12:01   ` Mahesh J Salgaonkar
2025-01-27  3:25     ` Sourabh Jain
2025-02-10  7:16   ` Hari Bathini [this message]
2025-02-17  7:28 ` [PATCH v3 0/4] powerpc: increase MIN RMA size for CAS negotiation Madhavan Srinivasan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a99f2ed0-ebd0-48eb-83bd-3798de8cb28a@linux.ibm.com \
    --to=hbathini@linux.ibm.com \
    --cc=avnish@linux.ibm.com \
    --cc=brking@linux.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mahesh@linux.ibm.com \
    --cc=mpe@ellerman.id.au \
    --cc=sourabhjain@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.