The patch titled Subject: kexec: Add kexec reboot string has been added to the -mm tree. Its filename is kexec-add-kexec-reboot-string.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/kexec-add-kexec-reboot-string.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/kexec-add-kexec-reboot-string.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Joe LeVeque <jolevequ@xxxxxxxxxxxxx> Subject: kexec: Add kexec reboot string The purpose is to notify the kernel module for fast reboot. Upstream a patch from the SONiC network operating system [1]. [1]: https://github.com/Azure/sonic-linux-kernel/pull/46 Link: https://lkml.kernel.org/r/20210304124626.13927-1-pmenzel@xxxxxxxxxxxxx Signed-off-by: Paul Menzel <pmenzel@xxxxxxxxxxxxx> Acked-by: Baoquan He <bhe@xxxxxxxxxx> Cc: Guohan Lu <lguohan@xxxxxxxxx> Cc: Joe LeVeque <jolevequ@xxxxxxxxxxxxx> Cc: Paul Menzel <pmenzel@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/kexec_core.c~kexec-add-kexec-reboot-string +++ a/kernel/kexec_core.c @@ -1165,7 +1165,7 @@ int kernel_kexec(void) #endif { kexec_in_progress = true; - kernel_restart_prepare(NULL); + kernel_restart_prepare("kexec reboot"); migrate_to_reboot_cpu(); /* _ Patches currently in -mm which might be from jolevequ@xxxxxxxxxxxxx are kexec-add-kexec-reboot-string.patch