Skip to content

kexec: reorganize kexec and kdump sysfs

Sourabh Jain kexec linuxppc-dev lkml 2 versions – Applied

Status from this message: [merged mm-nonmm-stable] documentation-abi-new-kexec-and-kdump-sysfs-interface.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 1 replyApplied 3/3
  2. v53 patches 0 repliesSuperseded

Changes in v6 from the cover letter

- Move /sys/kernel/kexec_crash_cma_ranges also to new /sys/kernel/kexec node
- Update commit messages

Patches in v6 All 3 applied

#Subject and filesSizeRepliesApplied
1/3kexec: move sysfs entries to /sys/kernel/kexeckernel/kexec_core.c kernel/ksysfs.c+142 -880 repliesApplied
2/3Documentation/ABI: mark old kexec sysfs deprecatedDocumentation/ABI/obsolete/sysfs-kernel-kexec-kdump+18 -00 repliesApplied
3/3Documentation/ABI: new kexec and kdump sysfs interfaceDocumentation/ABI/testing/sysfs-kernel-kexec-kdump+61 -00 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBaoquan He
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/3] kexec: reorganize kexec and kdump sysfs

All existing kexec and kdump sysfs entries are moved to a new location, /sys/kernel/kexec, to keep /sys/kernel/ clean and better organized. Symlinks are created at the old locations for backward compatibility and can be removed in the future [01/03].

While doing this cleanup, the old kexec and kdump sysfs entries are marked as deprecated in the existing ABI documentation [02/03]. This makes it clear that these older interfaces should no longer be used. New ABI documentation is added to describe the reorganized interfaces [03/03], so users and tools can rely on the updated sysfs interfaces going forward.

Changlog:
---------

v4 -> v5:
https://lore.kernel.org/all/[email protected]/
- Splitted patch series from the above patch series

v5 -> v6:
- Move /sys/kernel/kexec_crash_cma_ranges also to new /sys/kernel/kexec node
- Update commit messages

Note:
This patch series is dependent on the patches:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Cc Aditya Gupta <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Baoquan he <[email protected]>
Cc Dave Young <[email protected]>
Cc Hari Bathini <[email protected]>
Cc Jiri Bohac <[email protected]>
Cc Madhavan Srinivasan <[email protected]>
Cc Mahesh J Salgaonkar <[email protected]>
Cc Pingfan Liu <[email protected]>
Cc Ritesh Harjani (IBM) <[email protected]>
Cc Shivang Upadhyay <[email protected]>
Cc Sourabh Jain <[email protected]>
Cc Vivek Goyal <[email protected]>

Sourabh Jain (3):
kexec: move sysfs entries to /sys/kernel/kexec Documentation/ABI: mark old kexec sysfs deprecated Documentation/ABI: new kexec and kdump sysfs interface

 .../ABI/obsolete/sysfs-kernel-kexec-kdump     |  71 +++++++++
 .../ABI/testing/sysfs-kernel-kexec-kdump      |  26 ++--
 kernel/kexec_core.c                           | 141 ++++++++++++++++++
 kernel/ksysfs.c                               |  89 +----------
 4 files changed, 230 insertions(+), 97 deletions(-)
 create mode 100644 Documentation/ABI/obsolete/sysfs-kernel-kexec-kdump
Signature · 1 line
2.51.1