From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FA2EC432C2 for ; Wed, 25 Sep 2019 06:05:00 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D1BD8217F4 for ; Wed, 25 Sep 2019 06:04:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1BD8217F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6840C6B026D; Wed, 25 Sep 2019 02:04:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 60E0A6B026F; Wed, 25 Sep 2019 02:04:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 522C06B0271; Wed, 25 Sep 2019 02:04:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0167.hostedemail.com [216.40.44.167]) by kanga.kvack.org (Postfix) with ESMTP id 2B94D6B026D for ; Wed, 25 Sep 2019 02:04:59 -0400 (EDT) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id CED0B8243768 for ; Wed, 25 Sep 2019 06:04:58 +0000 (UTC) X-FDA: 75972404676.04.heart84_487efc28cf161 X-HE-Tag: heart84_487efc28cf161 X-Filterd-Recvd-Size: 3091 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by imf27.hostedemail.com (Postfix) with ESMTP for ; Wed, 25 Sep 2019 06:04:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 482378980F9; Wed, 25 Sep 2019 06:04:56 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-181.pek2.redhat.com [10.72.12.181]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5E0A7608C0; Wed, 25 Sep 2019 06:04:49 +0000 (UTC) Date: Wed, 25 Sep 2019 14:04:45 +0800 From: Dave Young To: Pavel Tatashin Cc: jmorris@namei.org, sashal@kernel.org, ebiederm@xmission.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, corbet@lwn.net, catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com, james.morse@arm.com, vladimir.murzin@arm.com, matthias.bgg@gmail.com, bhsharma@redhat.com, linux-mm@kvack.org, mark.rutland@arm.com Subject: Re: [PATCH v5 01/17] kexec: quiet down kexec reboot Message-ID: <20190925060445.GA30921@dhcp-128-65.nay.redhat.com> References: <20190923203427.294286-1-pasha.tatashin@soleen.com> <20190923203427.294286-2-pasha.tatashin@soleen.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190923203427.294286-2-pasha.tatashin@soleen.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.67]); Wed, 25 Sep 2019 06:04:56 +0000 (UTC) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 09/23/19 at 04:34pm, Pavel Tatashin wrote: > 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 > Reviewed-by: Simon Horman > --- > 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 d5870723b8ad..2c5b72863b7b 100644 > --- a/kernel/kexec_core.c > +++ b/kernel/kexec_core.c > @@ -1169,7 +1169,7 @@ int kernel_kexec(void) > * CPU hotplug again; so re-enable it here. > */ > cpu_hotplug_enable(); > - pr_emerg("Starting new kernel\n"); > + pr_notice("Starting new kernel\n"); > machine_shutdown(); > } > Acked-by: Dave Young Thanks Dave