powerpc/fadump: sysfs for fadump memory reservation
authorSourabh Jain <sourabhjain@linux.ibm.com>
Wed, 11 Dec 2019 16:09:10 +0000 (21:39 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Feb 2020 11:46:07 +0000 (22:46 +1100)
commitd8e73458f33a24810413ee3a0cd020b644de2f98
tree488a517b3ba91bcc04fad8ceafba596619c579f9
parent3f5f1f22ef10ee0278cef1243944c93aca01b236
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
Documentation/ABI/testing/sysfs-kernel-fadump
Documentation/powerpc/firmware-assisted-dump.rst
arch/powerpc/kernel/fadump.c