From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Eric Biederman <ebiederm@xmission.com>
Cc: Paul Menzel <pmenzel@molgen.mpg.de>,
Joe LeVeque <jolevequ@microsoft.com>,
kexec@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH] kexec: Add kexec reboot string
Date: Tue, 3 Nov 2020 14:40:36 +0100 [thread overview]
Message-ID: <20201103134036.23554-1-pmenzel@molgen.mpg.de> (raw)
From: Joe LeVeque <jolevequ@microsoft.com>
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
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
---
kernel/kexec_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c
index 8798a8183974..9aaa6ce48cdf 100644
--- a/kernel/kexec_core.c
+++ b/kernel/kexec_core.c
@@ -1167,7 +1167,7 @@ int kernel_kexec(void)
#endif
{
kexec_in_progress = true;
- kernel_restart_prepare(NULL);
+ kernel_restart_prepare("kexec reboot");
migrate_to_reboot_cpu();
/*
--
2.29.2
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next reply other threads:[~2020-11-03 13:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-03 13:40 Paul Menzel [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-04 12:46 [PATCH] kexec: Add kexec reboot string Paul Menzel
2021-03-11 4:09 ` Baoquan He
2021-03-11 5:32 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201103134036.23554-1-pmenzel@molgen.mpg.de \
--to=pmenzel@molgen.mpg.de \
--cc=ebiederm@xmission.com \
--cc=jolevequ@microsoft.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox