Skip to content

Commit

Permalink
Documentation/ABI: Add ABI documentation for /sys/kernel/fadump_*
Browse files Browse the repository at this point in the history
Add missing ABI documentation for existing FADump sysfs files.

Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Reviewed-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191211160910.21656-2-sourabhjain@linux.ibm.com
  • Loading branch information
Sourabh Jain authored and Michael Ellerman committed Feb 19, 2020
1 parent ba32f4b commit f52153a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/ABI/testing/sysfs-kernel-fadump_enabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
What: /sys/kernel/fadump_enabled
Date: Feb 2012
Contact: linuxppc-dev@lists.ozlabs.org
Description: read only
Primarily used to identify whether the FADump is enabled in
the kernel or not.
User: Kdump service
8 changes: 8 additions & 0 deletions Documentation/ABI/testing/sysfs-kernel-fadump_registered
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
What: /sys/kernel/fadump_registered
Date: Feb 2012
Contact: linuxppc-dev@lists.ozlabs.org
Description: read/write
Helps to control the dump collect feature from userspace.
Setting 1 to this file enables the system to collect the
dump and 0 to disable it.
User: Kdump service
8 changes: 8 additions & 0 deletions Documentation/ABI/testing/sysfs-kernel-fadump_release_mem
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
What: /sys/kernel/fadump_release_mem
Date: Feb 2012
Contact: linuxppc-dev@lists.ozlabs.org
Description: write only
This is a special sysfs file and only available when
the system is booted to capture the vmcore using FADump.
It is used to release the memory reserved by FADump to
save the crash dump.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
What: /sys/kernel/fadump_release_opalcore
Date: Sep 2019
Contact: linuxppc-dev@lists.ozlabs.org
Description: write only
The sysfs file is available when the system is booted to
collect the dump on OPAL based machine. It used to release
the memory used to collect the opalcore.

0 comments on commit f52153a

Please sign in to comment.