18c2ecf20Sopenharmony_ciWhat: /sys/kernel/fadump/* 28c2ecf20Sopenharmony_ciDate: Dec 2019 38c2ecf20Sopenharmony_ciContact: linuxppc-dev@lists.ozlabs.org 48c2ecf20Sopenharmony_ciDescription: 58c2ecf20Sopenharmony_ci The /sys/kernel/fadump/* is a collection of FADump sysfs 68c2ecf20Sopenharmony_ci file provide information about the configuration status 78c2ecf20Sopenharmony_ci of Firmware Assisted Dump (FADump). 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciWhat: /sys/kernel/fadump/enabled 108c2ecf20Sopenharmony_ciDate: Dec 2019 118c2ecf20Sopenharmony_ciContact: linuxppc-dev@lists.ozlabs.org 128c2ecf20Sopenharmony_ciDescription: read only 138c2ecf20Sopenharmony_ci Primarily used to identify whether the FADump is enabled in 148c2ecf20Sopenharmony_ci the kernel or not. 158c2ecf20Sopenharmony_ciUser: Kdump service 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciWhat: /sys/kernel/fadump/registered 188c2ecf20Sopenharmony_ciDate: Dec 2019 198c2ecf20Sopenharmony_ciContact: linuxppc-dev@lists.ozlabs.org 208c2ecf20Sopenharmony_ciDescription: read/write 218c2ecf20Sopenharmony_ci Helps to control the dump collect feature from userspace. 228c2ecf20Sopenharmony_ci Setting 1 to this file enables the system to collect the 238c2ecf20Sopenharmony_ci dump and 0 to disable it. 248c2ecf20Sopenharmony_ciUser: Kdump service 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciWhat: /sys/kernel/fadump/release_mem 278c2ecf20Sopenharmony_ciDate: Dec 2019 288c2ecf20Sopenharmony_ciContact: linuxppc-dev@lists.ozlabs.org 298c2ecf20Sopenharmony_ciDescription: write only 308c2ecf20Sopenharmony_ci This is a special sysfs file and only available when 318c2ecf20Sopenharmony_ci the system is booted to capture the vmcore using FADump. 328c2ecf20Sopenharmony_ci It is used to release the memory reserved by FADump to 338c2ecf20Sopenharmony_ci save the crash dump. 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciWhat: /sys/kernel/fadump/mem_reserved 368c2ecf20Sopenharmony_ciDate: Dec 2019 378c2ecf20Sopenharmony_ciContact: linuxppc-dev@lists.ozlabs.org 388c2ecf20Sopenharmony_ciDescription: read only 398c2ecf20Sopenharmony_ci Provide information about the amount of memory reserved by 408c2ecf20Sopenharmony_ci FADump to save the crash dump in bytes. 41