mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + kexec-add-kexec-reboot-string.patch added to -mm tree
@ 2021-03-11  5:33 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-03-11  5:33 UTC (permalink / raw)
  To: bhe, jolevequ, lguohan, mm-commits, pmenzel


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@microsoft.com>
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@molgen.mpg.de
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Acked-by: Baoquan He <bhe@redhat.com>
Cc: Guohan Lu <lguohan@gmail.com>
Cc: Joe LeVeque <jolevequ@microsoft.com>
Cc: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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@microsoft.com are

kexec-add-kexec-reboot-string.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-11  5:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11  5:33 + kexec-add-kexec-reboot-string.patch added to -mm tree akpm

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).