mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
d8e73458f3
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
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
What: /sys/kernel/fadump/*
|
|
Date: Dec 2019
|
|
Contact: linuxppc-dev@lists.ozlabs.org
|
|
Description:
|
|
The /sys/kernel/fadump/* is a collection of FADump sysfs
|
|
file provide information about the configuration status
|
|
of Firmware Assisted Dump (FADump).
|
|
|
|
What: /sys/kernel/fadump/enabled
|
|
Date: Dec 2019
|
|
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
|
|
|
|
What: /sys/kernel/fadump/registered
|
|
Date: Dec 2019
|
|
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
|
|
|
|
What: /sys/kernel/fadump/release_mem
|
|
Date: Dec 2019
|
|
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.
|
|
|
|
What: /sys/kernel/fadump/mem_reserved
|
|
Date: Dec 2019
|
|
Contact: linuxppc-dev@lists.ozlabs.org
|
|
Description: read only
|
|
Provide information about the amount of memory reserved by
|
|
FADump to save the crash dump in bytes.
|