^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/kernel/fadump/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: Dec 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: linuxppc-dev@lists.ozlabs.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) The /sys/kernel/fadump/* is a collection of FADump sysfs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) file provide information about the configuration status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) of Firmware Assisted Dump (FADump).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) What: /sys/kernel/fadump/enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Date: Dec 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Contact: linuxppc-dev@lists.ozlabs.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Description: read only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Primarily used to identify whether the FADump is enabled in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) the kernel or not.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) User: Kdump service
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) What: /sys/kernel/fadump/registered
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Date: Dec 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Contact: linuxppc-dev@lists.ozlabs.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Description: read/write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Helps to control the dump collect feature from userspace.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Setting 1 to this file enables the system to collect the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) dump and 0 to disable it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) User: Kdump service
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) What: /sys/kernel/fadump/release_mem
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Date: Dec 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Contact: linuxppc-dev@lists.ozlabs.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Description: write only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) This is a special sysfs file and only available when
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) the system is booted to capture the vmcore using FADump.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) It is used to release the memory reserved by FADump to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) save the crash dump.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) What: /sys/kernel/fadump/mem_reserved
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Date: Dec 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Contact: linuxppc-dev@lists.ozlabs.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Description: read only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Provide information about the amount of memory reserved by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) FADump to save the crash dump in bytes.