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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 99FBDC432C1 for ; Wed, 25 Sep 2019 06:05:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6B641217F4 for ; Wed, 25 Sep 2019 06:05:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UCJaHca5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6B641217F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/vAS+6e9TiljMw0+fT7xHq1VlbXOR0VuqYEhWscjON0=; b=UCJaHca5PmRGrl o6fV3NE8nedm52H5T9c8T1Fdxs3Kg2YTjkKES9wXMW6wT+8yLWeNM7JV+8pateq8Gtcx5dRdPYmY8 dGHwgN31UwNnoah+WwxSCx7zwGvM8gRGkvoHiHxpJeG04Qj5ELaOpp+8/Ayo+6RvPS3Ex+gXgQ4CK ucg2EuDc6zcs8HbIJYH4+NzLeacaKVCg4bahcz+WnBP9C6o+/u4QyNtxDNEmatdlN4RMvQHRHPC41 aGawF85iAfL1iFscCyyeXEcMqpS4XxFVzo3gQUnKnXJvEopr6Zbgf18f/S1DZL9XTEGHvzziBJU/i 5HjwiAzAnR+od7EDuxJg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iD0QL-0006eW-Hx; Wed, 25 Sep 2019 06:05:13 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iD0Q5-0005Zz-NU; Wed, 25 Sep 2019 06:04:59 +0000 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 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-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190924_230457_789253_38570DEF X-CRM114-Status: GOOD ( 17.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sashal@kernel.org, mark.rutland@arm.com, vladimir.murzin@arm.com, corbet@lwn.net, marc.zyngier@arm.com, catalin.marinas@arm.com, bhsharma@redhat.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, jmorris@namei.org, linux-mm@kvack.org, james.morse@arm.com, ebiederm@xmission.com, matthias.bgg@gmail.com, will@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel