linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] reorganize and add FADump sysfs files
@ 2019-09-15 13:23 Sourabh Jain
  2019-09-15 13:23 ` [PATCH 1/4] powerpc/fadump: replicate /sys/kernel/fadump_* sysfs into /sys/kernel/fadump/ Sourabh Jain
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sourabh Jain @ 2019-09-15 13:23 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: corbet, mahesh, linux-doc, linux-kernel, hbathini

Currently, the FADump sysfs files are present inside /sys/kernel directory.
But as the number of FADump sysfs file increases it is not a good idea to
push all of them in /sys/kernel directory. It is better to have separate
directory to keep all the FADump sysfs files.

The patch series reorganizes the FADump sysfs files and avail all the
existing FADump sysfs files present inside /sys/kernel into a new directory
named fadump. Currently, all the FADump sysfs files are replicated into a
new directory to maintain the backward compatibility and will eventually get
removed in future. In addition 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 into
    /sys/kernel/fadump/
  Documentation/ABI: add ABI documentation for /sys/kernel/fadump_*
  Documentation/ABI: mark /sys/kernel/fadump_* sysfs files deprecated
  powerpc/fadump: sysfs for fadump memory reservation

 .../ABI/obsolete/sysfs-kernel-fadump_enabled  | 10 ++++
 .../obsolete/sysfs-kernel-fadump_registered   | 11 +++++
 .../obsolete/sysfs-kernel-fadump_release_mem  | 11 +++++
 .../sysfs-kernel-fadump_release_opalcore      | 10 ++++
 Documentation/ABI/testing/sysfs-kernel-fadump | 48 +++++++++++++++++++
 .../powerpc/firmware-assisted-dump.rst        | 14 ++++++
 arch/powerpc/kernel/fadump.c                  | 43 +++++++++++++++++
 arch/powerpc/platforms/powernv/opal-core.c    |  7 +++
 8 files changed, 154 insertions(+)
 create mode 100644 Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled
 create mode 100644 Documentation/ABI/obsolete/sysfs-kernel-fadump_registered
 create mode 100644 Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem
 create mode 100644 Documentation/ABI/obsolete/sysfs-kernel-fadump_release_opalcore
 create mode 100644 Documentation/ABI/testing/sysfs-kernel-fadump

-- 
2.17.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-15 13:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-15 13:23 [PATCH 0/4] reorganize and add FADump sysfs files Sourabh Jain
2019-09-15 13:23 ` [PATCH 1/4] powerpc/fadump: replicate /sys/kernel/fadump_* sysfs into /sys/kernel/fadump/ Sourabh Jain
2019-09-15 13:23 ` [PATCH 2/4] Documentation/ABI: add ABI documentation for /sys/kernel/fadump_* Sourabh Jain
2019-09-15 13:23 ` [PATCH 3/4] Documentation/ABI: mark /sys/kernel/fadump_* sysfs files deprecated Sourabh Jain
2019-09-15 13:23 ` [PATCH 4/4] powerpc/fadump: sysfs for fadump memory reservation Sourabh Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).