Add a deprecation note in FADump sysfs ABI documentation files and
move them from ABI/testing to ABI/obsolete directory.
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
[mpe: Use a proper table to fix errors from the documentation build]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191211160910.21656-6-sourabhjain@linux.ibm.com
--- /dev/null
+This ABI is renamed and moved to a new location /sys/kernel/fadump/enabled.
+
+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
--- /dev/null
+This ABI is renamed and moved to a new location /sys/kernel/fadump/registered.¬
+
+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
--- /dev/null
+This ABI is renamed and moved to a new location /sys/kernel/fadump/release_mem.¬
+
+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.
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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.
echo 1 > /sys/firmware/opal/mpipl/release_core
+Note: The following FADump sysfs files are deprecated.
+
++----------------------------------+--------------------------------+
+| Deprecated | Alternative |
++----------------------------------+--------------------------------+
+| /sys/kernel/fadump_enabled | /sys/kernel/fadump/enabled |
++----------------------------------+--------------------------------+
+| /sys/kernel/fadump_registered | /sys/kernel/fadump/registered |
++----------------------------------+--------------------------------+
+| /sys/kernel/fadump_release_mem | /sys/kernel/fadump/release_mem |
++----------------------------------+--------------------------------+
+
Here is the list of files under powerpc debugfs:
(Assuming debugfs is mounted on /sys/kernel/debug directory.)