Received: by 10.223.176.46 with SMTP id f43csp485769wra; Thu, 18 Jan 2018 20:48:32 -0800 (PST) X-Google-Smtp-Source: ACJfBotmnPfA7/fu/zqypyQ9C+H4cERb/GjdZ5QgeA8+Bq7sfADq5Q2EPJCdINg+Nj3gkXfngj/2 X-Received: by 10.98.93.157 with SMTP id n29mr36567429pfj.195.1516337312787; Thu, 18 Jan 2018 20:48:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516337312; cv=none; d=google.com; s=arc-20160816; b=q29FdYXXlkdwutDdf0UtSOHmXWdDegJ2NO9ksm2sohm7xjs+mF/ZwITdJXd7EwvQwu pd+RbpzK7AyEdtt0aCqVWeBgcSwkC26SbqSdwlOwvQM1y2luJMlIXNGD2Xo92Q7U1lVG BnZb3wPXR3hbwNMOJLBZ3S4uoUx/moIzFeRMX46DPutVN67RkpC/540hXdWTELfY7ZRw 1++SjbxPw4iurollcOsSWx23ofXlf/P24K5ig8SoXsgapvS4ClKJmsCdQo2vs0p30HEo LJsrIXVwRvWphYYLl3FXUJclNs2UZL1U+skwSU5eBZ+AH9LiH3RkyDQfQLpqUpfNdTAU c9EQ== 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:arc-authentication-results; bh=pHaYBAB8FRGPjXV3tKx/zb1CChkL/Hr6jTNbOS4ktsE=; b=Zh3mx5ITZ42sdYttkJgz+S4qca/JdSM0BnMe4DhASRvYLkIV9mv3Y+A4XdfbcdBH5e MCpCQhx0xWTc0hlHukvqqQj8ehu91mXvEo8XnJm9GYVf+gCNJZbBL0cg6RxfojAUrj5h q5YAzbk/SFtRGS6a4gh5Ne0FGvEmzA+g7MO+AWwXR6MWRl5gInjmWw+37G5txnI9b9GO BD1O3GFsJGGTHsfCLPMEQ8Yvq5IOrSq7bm/aQD1Io4cibY4rEdjYV5Sz48iCO22LpF7B f5YDOqNTDqTLXzI7224a3CvuW6iALKx+kJ0vADVcGINu9cLJfpdkiDV4ZVA+lhtNBXRO EfgA== 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 j88si8660724pfj.101.2018.01.18.20.48.18; Thu, 18 Jan 2018 20:48:32 -0800 (PST) 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 S1753390AbeASErd (ORCPT + 99 others); Thu, 18 Jan 2018 23:47:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41996 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbeASEr0 (ORCPT ); Thu, 18 Jan 2018 23:47:26 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3F4DC76541; Fri, 19 Jan 2018 04:47:26 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-45.pek2.redhat.com [10.72.12.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 25D31600C0; Fri, 19 Jan 2018 04:47:22 +0000 (UTC) Date: Fri, 19 Jan 2018 12:47:19 +0800 From: Dave Young To: Steven Rostedt Cc: Andi Kleen , pmladek@suse.com, sergey.senozhatsky@gmail.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, kexec@lists.infradead.org Subject: Re: [PATCH] print kdump kernel loaded status in stack dump Message-ID: <20180119044719.GA3985@dhcp-128-65.nay.redhat.com> References: <20180117045057.GA4994@dhcp-128-65.nay.redhat.com> <878tcvt592.fsf@linux.intel.com> <20180118135704.62d0f79f@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180118135704.62d0f79f@gandalf.local.home> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 19 Jan 2018 04:47:26 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/18/18 at 01:57pm, Steven Rostedt wrote: > On Thu, 18 Jan 2018 10:02:17 -0800 > Andi Kleen wrote: > > > Dave Young writes: > > > printk("%sHardware name: %s\n", > > > log_lvl, dump_stack_arch_desc_str); > > > + if (kexec_crash_loaded()) > > > + printk("%skdump kernel loaded\n", log_lvl); > > > > Oops/warnings are getting longer and longer, often scrolling away > > from the screen, and if the kernel crashes backscroll does not work > > anymore, so precious information is lost. > > > > Can you merge it with some other line? > > > > Just a [KDUMP] or so somewhere should be good enough. > > Or perhaps we should add it as a TAINT. Not all taints are bad. Hmm, I also thought about this before but It sounds like not match the "tainted" meaning with the assumption that it is bad :( Maybe it would be better to do like Andi said, but print a better word than "KDUMP", eg. "Kdumpable" sounds better. If this is fine I can repost the patch. > > -- Steve Thanks Dave