[v6,01/17] kexec: quiet down kexec reboot
diff mbox series

Message ID 20191004185234.31471-2-pasha.tatashin@soleen.com
State New
Headers show
  • arm64: MMU enabled kexec relocation
Related show

Commit Message

Pavel Tatashin Oct. 4, 2019, 6:52 p.m. UTC
Here is a regular kexec command sequence and output:
$ kexec --reuse-cmdline -i --load Image
$ kexec -e
[  161.342002] kexec_core: Starting new kernel

Welcome to Buildroot
buildroot login:

Even when "quiet" kernel parameter is specified, "kexec_core: Starting
new kernel" is printed.

This message has  KERN_EMERG level, but there is no emergency, it is a
normal kexec operation, so quiet it down to appropriate KERN_NOTICE.

Machines that have slow console baud rate benefit from less output.

Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Acked-by: Dave Young <dyoung@redhat.com>
 kernel/kexec_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c
index 15d70a90b50d..f7ae04b8de6f 100644
--- a/kernel/kexec_core.c
+++ b/kernel/kexec_core.c
@@ -1171,7 +1171,7 @@  int kernel_kexec(void)
 		 * CPU hotplug again; so re-enable it here.
-		pr_emerg("Starting new kernel\n");
+		pr_notice("Starting new kernel\n");