Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1791895ybn; Thu, 26 Sep 2019 02:14:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUs3PnLy5dua1NE3klmolah+Dk2k5V3fOxz0vmbSLTxPgfL2d8Ci2mwBlvJR82RuhIF032 X-Received: by 2002:a50:d808:: with SMTP id o8mr2439958edj.74.1569489245432; Thu, 26 Sep 2019 02:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569489245; cv=none; d=google.com; s=arc-20160816; b=NGyqvP7IwzT8tCUn86XHSJ0jP0zf16GaZBzKy3iI1u0if374PYbml8Po7XYgCXERjc Vb4o184DU1+bCJx1Fi0govhBdOM9oJVu2k90PMNhP5Kn2CyNuWCR4njrkK2RsBHh2fJm djyumYDQtyBAphZQmYWhomvT4E2V/FioIbpDIL3R8q5Yfyl/EhB23t4PZGChg3FdQx0t lRFZuaUELaZSrJrwQ5NpLPfHHFMfngLe0UQVrPUHeUx7agG/O3cvF49ZbftP7GH0WtZP mJwvAshpvDjGIbIVA7epZzmI3LnOh7YEGN9y8+pan76K2sjKOSLXiyLxLOjpiMWAIR4U 9XPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GjfJPnHagPxFuls+nMtadIJAQYW6jWXk4cOjUdoBflw=; b=sfT3K54R3Q4tKZ6DFMHcSIhNCG0AKAWn+0+rn77voAldx3Gh3D1D7AzO8Mu0+FRxOP V1ikVDtLm3riDhtDwSLYvd3zq4toOQ5OSXd4QB9q+lzkTLjJWIYhe90stFKnRpDsaveD +6ajOH1roAIWiyQxWuBP8qMtIyVfF+2PP5c3GCyCEPcOJK/tu9W/V73Q2WB3yUY3jnAO rXzlJwnvxY8wRsmpw7CxkzrvkswW1fuT1WncJm9isONv4JMdrq2lnEo+LTjyle09HSlC /0t4ilxs/bmEnPJd9+m1h9B8OMCOpjLiVbFXNhjUF2J/TWfNrCUKVJKytblZ/Wq1r8oK qA1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j21si942437edr.376.2019.09.26.02.13.41; Thu, 26 Sep 2019 02:14:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2411852AbfIYGE5 (ORCPT + 99 others); Wed, 25 Sep 2019 02:04:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37338 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404392AbfIYGE4 (ORCPT ); Wed, 25 Sep 2019 02:04:56 -0400 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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