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]> Cc: [email protected] Cc: [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 -- 2.51.1
