OSDN Git Service

Documentation/ABI: Add ABI documentation for /sys/kernel/fadump_*
authorSourabh Jain <sourabhjain@linux.ibm.com>
Wed, 11 Dec 2019 16:09:05 +0000 (21:39 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Feb 2020 10:07:09 +0000 (21:07 +1100)
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
Documentation/ABI/testing/sysfs-kernel-fadump_enabled [new file with mode: 0644]
Documentation/ABI/testing/sysfs-kernel-fadump_registered [new file with mode: 0644]
Documentation/ABI/testing/sysfs-kernel-fadump_release_mem [new file with mode: 0644]
Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_enabled b/Documentation/ABI/testing/sysfs-kernel-fadump_enabled
new file mode 100644 (file)
index 0000000..f73632b
--- /dev/null
@@ -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
diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_registered b/Documentation/ABI/testing/sysfs-kernel-fadump_registered
new file mode 100644 (file)
index 0000000..dcf925e
--- /dev/null
@@ -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
diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_release_mem b/Documentation/ABI/testing/sysfs-kernel-fadump_release_mem
new file mode 100644 (file)
index 0000000..9c20d64
--- /dev/null
@@ -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.
diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore b/Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore
new file mode 100644 (file)
index 0000000..53313c1
--- /dev/null
@@ -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.