Re: [PATCH v2] powerpc/fadump: sysfs for fadump memory reservation

From: Hari Bathini
Date: Thu Aug 08 2019 - 07:17:59 EST




On 08/08/19 3:38 PM, Sourabh Jain wrote:
> Add a sys interface to allow querying the memory reserved by
> fadump for saving the crash dump.
>
> Add an ABI doc entry for new sysfs interface.
> - /sys/kernel/fadump_mem_reserved
>
> Signed-off-by: Sourabh Jain <sourabhjain@xxxxxxxxxxxxx>
> ---
> v1 -> v2:
> - Added ABI doc for new sysfs interface.
> ---
>
> Documentation/ABI/testing/sysfs-kernel-fadump | 6 ++++++
> Documentation/powerpc/firmware-assisted-dump.rst | 5 +++++
> arch/powerpc/kernel/fadump.c | 14 ++++++++++++++
> 3 files changed, 25 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-kernel-fadump
>
> diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump b/Documentation/ABI/testing/sysfs-kernel-fadump
> new file mode 100644
> index 000000000000..003e2f025dcb
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-kernel-fadump
> @@ -0,0 +1,6 @@
> +What: /sys/kernel/fadump_mem_reserved
> +Date: August 2019
> +Contact: linuxppc-dev@xxxxxxxxxxxxxxxx
> +Description: read only
> + Provide information about the amount of memory
> + reserved by fadump to saving the crash dump.

s/to saving/to save/

Rest looks good..

Thanks
Hari