Message ID | 1415288011-26322-1-git-send-email-daniel.thompson@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBCAPDLF44QLBBWFJ52RAKGQEISLWVGY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DE4AF20C4E for <linaro@patches.linaro.org>; Thu, 6 Nov 2014 15:33:45 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id mc6sf1921784lab.7 for <linaro@patches.linaro.org>; Thu, 06 Nov 2014 07:33:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=CaqPo74MUhE7jKwAbnWQBYjHQlXwVZZMb5oBKyDyj/w=; b=c99efT0hiqZR5Z4d2Wl49+w9Um3boPl0IDrMb3a/V88NnAttoSQZwwQLyjuCdmSwbZ It5YiAKQ++cud4raag1Gg2KcqAfOSKwsHnbpi7RfOHU08y3EXHX6LCIaFlCB3XKzMlA9 /1yHzrwhIVEjBotLE8V+8C4n5ypvlV639HEgPfnSH+Bda+l1Z76KpJQ15mJVkrEWbiRY lSKaN4pTH6y6gwRG7hJesaO2oCs5ridbQKKNbvakeYeQVbe0KvxRsOf3v7sSEO1nykhl 5jcwHrYplYKle0NthrOsHQwMtNAco7xz+XJa6Oo1TZ84zSm+FTtV5kRBgyRZvfXm8zZc u9oQ== X-Gm-Message-State: ALoCoQmMAQ2rzqSjdAYrGs/hvc93TFT6UJSVcydqPlZj9x9KYfsapedJXXDvHA8odadQ3kLDIuAN X-Received: by 10.180.106.67 with SMTP id gs3mr1889384wib.3.1415288024831; Thu, 06 Nov 2014 07:33:44 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.227 with SMTP id e3ls101092laa.69.gmail; Thu, 06 Nov 2014 07:33:44 -0800 (PST) X-Received: by 10.112.156.138 with SMTP id we10mr4740983lbb.88.1415288024538; Thu, 06 Nov 2014 07:33:44 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id az8si8216454lbc.132.2014.11.06.07.33.44 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 07:33:44 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id q1so2844841lam.10 for <patchwork-forward@linaro.org>; Thu, 06 Nov 2014 07:33:44 -0800 (PST) X-Received: by 10.112.130.41 with SMTP id ob9mr5606565lbb.74.1415288024340; Thu, 06 Nov 2014 07:33:44 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp62537lbc; Thu, 6 Nov 2014 07:33:43 -0800 (PST) X-Received: by 10.180.211.70 with SMTP id na6mr15255710wic.3.1415288023716; Thu, 06 Nov 2014 07:33:43 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com. [209.85.212.181]) by mx.google.com with ESMTPS id ft8si2845800wjb.111.2014.11.06.07.33.43 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 07:33:43 -0800 (PST) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.181 as permitted sender) client-ip=209.85.212.181; Received: by mail-wi0-f181.google.com with SMTP id n3so1848630wiv.14 for <patches@linaro.org>; Thu, 06 Nov 2014 07:33:43 -0800 (PST) X-Received: by 10.180.9.33 with SMTP id w1mr42512088wia.22.1415288023193; Thu, 06 Nov 2014 07:33:43 -0800 (PST) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id gc7sm8239662wjb.16.2014.11.06.07.33.41 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Nov 2014 07:33:42 -0800 (PST) From: Daniel Thompson <daniel.thompson@linaro.org> To: Jason Wessel <jason.wessel@windriver.com> Cc: Daniel Thompson <daniel.thompson@linaro.org>, linux-kernel@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, Andrew Morton <akpm@linux-foundation.org>, Ingo Molnar <mingo@redhat.com>, patches@linaro.org, linaro-kernel@lists.linaro.org, John Stultz <john.stultz@linaro.org>, Sumit Semwal <sumit.semwal@linaro.org> Subject: [RESEND PATCH v3.18-rc3] kdb: Remove stack dump when entering kgdb due to NMI Date: Thu, 6 Nov 2014 15:33:31 +0000 Message-Id: <1415288011-26322-1-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1405518033-11671-1-git-send-email-daniel.thompson@linaro.org> References: <1405518033-11671-1-git-send-email-daniel.thompson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c index 379650b..f9ba423 100644 --- a/kernel/debug/kdb/kdb_main.c +++ b/kernel/debug/kdb/kdb_main.c @@ -1207,7 +1207,6 @@ static int kdb_local(kdb_reason_t reason, int error, struct pt_regs *regs, kdb_printf("due to NonMaskable Interrupt @ " kdb_machreg_fmt "\n", instruction_pointer(regs)); - kdb_dumpregs(regs); break; case KDB_REASON_SSTEP: case KDB_REASON_BREAK:
Issuing a stack dump feels ergonomically wrong when entering due to NMI. Entering due to NMI is normally a reaction to a user request, either the NMI button on a server or a "magic knock" on a UART. Therefore the backtrace behaviour on entry due to NMI should be like SysRq-g (no stack dump) rather than like oops. Note also that the stack dump does not offer any information that cannot be trivial retrieved using the 'bt' command. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Cc: Jason Wessel <jason.wessel@windriver.com> --- kernel/debug/kdb/kdb_main.c | 1 - 1 file changed, 1 deletion(-) -- 1.9.3