[PATCH v2] powerpc/fadump: sysfs for fadump memory reservation

2019-08-08 Thread Sourabh Jain
Add a sys interface to allow querying the memory reserved by fadump for saving the crash dump. Add an ABI doc entry for new sysfs interface. - /sys/kernel/fadump_mem_reserved Signed-off-by: Sourabh Jain --- v1 -> v2: - Added ABI doc for new sysfs interface. --- Documentation/ABI/test

[PATCH v3] powerpc/fadump: sysfs for fadump memory reservation

2019-08-10 Thread Sourabh Jain
Add a sys interface to allow querying the memory reserved by fadump for saving the crash dump. Add an ABI doc entry for new sysfs interface. - /sys/kernel/fadump_mem_reserved Signed-off-by: Sourabh Jain --- Changelog: v1 -> v2: - Added ABI doc for new sysfs interface. v2 -&

Re: [PATCH v3] powerpc/fadump: sysfs for fadump memory reservation

2019-08-26 Thread Sourabh Jain
On 8/26/19 3:29 PM, Hari Bathini wrote: > > > On 10/08/19 11:29 PM, Sourabh Jain wrote: >> Add a sys interface to allow querying the memory reserved by >> fadump for saving the crash dump. >> >> Add an ABI doc entry for new sysfs interface. >>- /sys/

Re: [PATCH v3] powerpc/fadump: sysfs for fadump memory reservation

2019-08-26 Thread Sourabh Jain
On 8/26/19 3:46 PM, Sourabh Jain wrote: > > > On 8/26/19 3:29 PM, Hari Bathini wrote: >> >> >> On 10/08/19 11:29 PM, Sourabh Jain wrote: >>> Add a sys interface to allow querying the memory reserved by >>> fadump for saving the crash dump. >>

[PATCH 2/4] Documentation/ABI: add ABI documentation for /sys/kernel/fadump_*

2019-09-15 Thread Sourabh Jain
Add the missing ABI documentation for the already available fadump sysfs files. Signed-off-by: Sourabh Jain --- Documentation/ABI/testing/sysfs-kernel-fadump_enabled | 7 +++ Documentation/ABI/testing/sysfs-kernel-fadump_registered | 8 Documentation/ABI/testing/sysfs-kernel

[PATCH 1/4] powerpc/fadump: replicate /sys/kernel/fadump_* sysfs into /sys/kernel/fadump/

2019-09-15 Thread Sourabh Jain
s are replicated inside /sys/kernel/fadump/ and eventually get removed in future. Added ABI documentation for all the replicated FADump sysfs file in Documentation/ABI/testing/sysfs-kernel-fadump. Signed-off-by: Sourabh Jain --- Documentation/ABI/testing/sysfs-kernel-fadump

[PATCH 3/4] Documentation/ABI: mark /sys/kernel/fadump_* sysfs files deprecated

2019-09-15 Thread Sourabh Jain
The /sys/kernel/fadump_* sysfs files are replicated under /sys/kernel/fadump/ directory. But we need to keep the old sysfs files to maintain the backward compatibility. The sysfs files are scheduled to remove by 2021. Signed-off-by: Sourabh Jain --- .../{testing => obsolete}/sysfs-ker

[PATCH 0/4] reorganize and add FADump sysfs files

2019-09-15 Thread Sourabh Jain
to this a new FADump sys interface is added to get the amount of memory reserved by FADump for saving the crash dump. The series applies on top of: https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-September/196871.html Sourabh Jain (4): powerpc/fadump: replicate /sys/kernel/fadump_* sysfs

[PATCH 4/4] powerpc/fadump: sysfs for fadump memory reservation

2019-09-15 Thread Sourabh Jain
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 --- Documentation/ABI/testing/sysfs-kernel-fadump| 7 +++ Documentation/powerpc/firmware-assisted-dump.rst

Re: [PATCH v3] powerpc/fadump: sysfs for fadump memory reservation

2019-09-18 Thread Sourabh Jain
On 8/27/19 11:32 AM, Hari Bathini wrote: > > > On 27/08/19 8:49 AM, Michael Ellerman wrote: >> Hari Bathini writes: >>> On 26/08/19 4:14 PM, Sourabh Jain wrote: >>>> On 8/26/19 3:46 PM, Sourabh Jain wrote: >>>>> On 8/26/19 3:29 PM, Hari

[PATCH v2 0/4] reorganize and add FADump sysfs files

2019-10-18 Thread Sourabh Jain
oc for exisiting sysfs file then replicate them under FADump kobject). Sourabh Jain (4): Documentation/ABI: add ABI documentation for /sys/kernel/fadump_* powerpc/fadump: reorganize /sys/kernel/fadump_* sysfs files Documentation/ABI: mark /sys/kernel/fadump_* sysfs files deprecated powerpc/

[PATCH v2 1/4] Documentation/ABI: add ABI documentation for /sys/kernel/fadump_*

2019-10-18 Thread Sourabh Jain
Add the missing ABI documentation for the already available FADump sysfs files. Signed-off-by: Sourabh Jain --- Documentation/ABI/testing/sysfs-kernel-fadump_enabled | 7 +++ Documentation/ABI/testing/sysfs-kernel-fadump_registered | 8 Documentation/ABI/testing/sysfs-kernel

[PATCH v2 3/4] Documentation/ABI: mark /sys/kernel/fadump_* sysfs files deprecated

2019-10-18 Thread Sourabh Jain
The /sys/kernel/fadump_* sysfs files are replicated under /sys/kernel/fadump/ directory. But we need to keep the old sysfs files to maintain the backward compatibility. The sysfs files are scheduled to remove by 2021. Signed-off-by: Sourabh Jain --- .../sysfs-kernel-fadump_enabled

[PATCH v2 4/4] powerpc/fadump: sysfs for fadump memory reservation

2019-10-18 Thread Sourabh Jain
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 --- Documentation/ABI/testing/sysfs-kernel-fadump| 7 +++ Documentation/powerpc/firmware-assisted-dump.rst

[PATCH v2 2/4] powerpc/fadump: reorganize /sys/kernel/fadump_* sysfs files

2019-10-18 Thread Sourabh Jain
files are replicated inside /sys/kernel/fadump/ and eventually get removed in future. Consolidate ABI documentation for all the FADump sysfs file in a single file Documentation/ABI/testing/sysfs-kernel-fadump. Signed-off-by: Sourabh Jain --- Documentation/ABI/testing/sysfs-kernel-fadump