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 layout going forward. Changlog: --------- v4 -> v5: https://lore.kernel.org/all/[email protected]/ - Splitted patch series from the above patch series 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]> Cc: [email protected] Cc: [email protected] Sourabh Jain (3): kexec: move sysfs entries to /sys/kernel/kexec Documentation/ABI: mark old kexec sysfs deprecated kexec: document new kexec and kdump sysfs ABIs .../ABI/obsolete/sysfs-kernel-kexec-kdump | 59 ++++++++++++ .../ABI/testing/sysfs-kernel-kexec-kdump | 24 +++-- kernel/kexec_core.c | 91 ++++++++++++++++++- kernel/ksysfs.c | 68 +------------- 4 files changed, 166 insertions(+), 76 deletions(-) create mode 100644 Documentation/ABI/obsolete/sysfs-kernel-kexec-kdump -- 2.51.1
