diff options
author | Sourabh Jain <sourabhjain@linux.ibm.com> | 2019-12-11 19:09:10 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-02-19 14:46:07 +0300 |
commit | d8e73458f33a24810413ee3a0cd020b644de2f98 (patch) | |
tree | 488a517b3ba91bcc04fad8ceafba596619c579f9 /Documentation/powerpc | |
parent | 3f5f1f22ef10ee0278cef1243944c93aca01b236 (diff) | |
download | linux-d8e73458f33a24810413ee3a0cd020b644de2f98.tar.xz |
powerpc/fadump: sysfs for fadump memory reservation
Add a sys interface to allow querying the memory reserved by FADump for
saving the crash dump.
Also added Documentation/ABI for the new sysfs file.
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191211160910.21656-7-sourabhjain@linux.ibm.com
Diffstat (limited to 'Documentation/powerpc')
-rw-r--r-- | Documentation/powerpc/firmware-assisted-dump.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/powerpc/firmware-assisted-dump.rst b/Documentation/powerpc/firmware-assisted-dump.rst index 2cd65a0df9b8..b3f3ee135dbe 100644 --- a/Documentation/powerpc/firmware-assisted-dump.rst +++ b/Documentation/powerpc/firmware-assisted-dump.rst @@ -268,6 +268,11 @@ Here is the list of files under kernel sysfs: be handled and vmcore will not be captured. This interface can be easily integrated with kdump service start/stop. + /sys/kernel/fadump/mem_reserved + + This is used to display the memory reserved by FADump for saving the + crash dump. + /sys/kernel/fadump_release_mem This file is available only when FADump is active during second kernel. This is used to release the reserved memory |