kexec: Add kexec reboot string
Subsystems (3)
PATCH 1/1 kexec: Add kexec reboot string
From: Joe LeVeque <[email protected]>
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
--- kernel/kexec_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/kexec_core.c +1 -1
@@ -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 ();/*
Signature · 7 lines
2.30.1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Quoted 3 lines · Paul Menzel
From: Joe LeVeque <[email protected]>
The purpose is to notify the kernel module for fast reboot.
Checked several modules which registered with reboot_notifier_list, the passed string is not cared. Just curious, could you tell how you have used or plan to use this string in your code?
No objection to this even though it's trivial if no real use case.
Quoted 32 lines
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 <[email protected]>--- kernel/kexec_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/kexec_core.c +1
-1@@ -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 ();/* Signature · 7 lines
2.30.1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Andrew Morton
maintainerQuoted 9 lines · On Thu, 4 Mar 2021 13:46:26 +0100 Paul Menzel <[email protected]> wrote:
From: Joe LeVeque <[email protected]>
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 <[email protected]>
We should have Joe's signed-off-by: for this. Joe, can you please send it?
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Hi Andrew,
Is this all your looking for? If not, please let me know.
Quoted 1 line
Signed-off-by Joe LeVeque <[email protected]>
Thanks,
Joe
-----Original Message-----
From: Andrew Morton <[email protected]>
Sent: Wednesday, March 10, 2021 9:33 PM
To: Paul Menzel <[email protected]>
Cc: Eric Biederman <[email protected]>; [email protected]; [email protected]; Guohan Lu <[email protected]>; Joe LeVeque <[email protected]>
Subject: [EXTERNAL] Re: [PATCH] kexec: Add kexec reboot string
Quoted 15 lines · On Thu, 4 Mar 2021 13:46:26 +0100 Paul Menzel <[email protected]> wrote:
From: Joe LeVeque <[email protected]>
The purpose is to notify the kernel module for fast reboot.
Upstream a patch from the SONiC network operating system [1].
[1]:
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
ub.com%2FAzure%2Fsonic-linux-kernel%2Fpull%2F46&data=04%7C01%7Cjol evequ%40microsoft.com%7Cddd7ea68d7d14ecdbd6608d8e44f225b%7C72f988bf86f 141af91ab2d7cd011db47%7C1%7C0%7C637510375952624615%7CUnknown%7CTWFpbGZ sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3 D%7C1000&sdata=0lxaoVz%2BYyu5C4HvzSGMf0NpJJUWZFWdp7m3hLlL9MM%3D&am p;reserved=0
Quoted 1 line
Signed-off-by Paul Menzel <[email protected]>
We should have Joe's signed-off-by: for this. Joe, can you please send it?
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Andrew Morton
maintainerQuoted 3 lines · On Thu, 11 Mar 2021 18:14:19 +0000 Joe LeVeque <[email protected]> wrote:
Is this all your looking for? If not, please let me know.
Quoted 1 line
Signed-off-by Joe LeVeque <[email protected]>
Yes, thanks.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Dear Joe,
Thank you for replying.
Am 11.03.21 um 19:14 schrieb Joe LeVeque:
Quoted 3 lines
Is this all your looking for? If not, please let me know.
Quoted 1 line
Signed-off-by Joe LeVeque <[email protected]>
It’d be great if you answered Baoquan He’s question, how it’s actually used in SONiC. (I just sent the patch upstream to reduce the out-of-tree patches in SONiC.)
Kind regards,
Paul
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec