From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753046AbbJMUYG (ORCPT ); Tue, 13 Oct 2015 16:24:06 -0400 Received: from www.linutronix.de ([62.245.132.108]:52150 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752779AbbJMUYE (ORCPT ); Tue, 13 Oct 2015 16:24:04 -0400 Date: Tue, 13 Oct 2015 22:22:58 +0200 (CEST) From: Thomas Gleixner To: Hidehiro Kawai cc: Jonathan Corbet , Peter Zijlstra , Ingo Molnar , "Eric W. Biederman" , "H. Peter Anvin" , Andrew Morton , Vivek Goyal , linux-doc@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Michal Hocko , Ingo Molnar , Masami Hiramatsu Subject: Re: [V4 PATCH 4/4] x86/apic: Introduce noextnmi boot option In-Reply-To: <20150925112811.4258.54494.stgit@softrs> Message-ID: References: <20150925112803.4258.94241.stgit@softrs> <20150925112811.4258.54494.stgit@softrs> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Sep 2015, Hidehiro Kawai wrote: > This patch introduces new boot option "noextnmi" which disables > external NMI. This option is useful for the dump capture kernel > so that an HA application or administrator wouldn't mistakenly > shoot down the kernel by NMI. > > Currently, only x86 supports this option. You might add that is can be used for debugging purposes as well. External NMIs can be their own source of trouble. :) > Signed-off-by: Hidehiro Kawai > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: Jonathan Corbet > --- > Documentation/kernel-parameters.txt | 4 ++++ > arch/x86/kernel/apic/apic.c | 17 ++++++++++++++++- > 2 files changed, 20 insertions(+), 1 deletion(-) > > diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt > index 22a4b68..8bcaccd 100644 > --- a/Documentation/kernel-parameters.txt > +++ b/Documentation/kernel-parameters.txt > @@ -2379,6 +2379,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted. > noexec=on: enable non-executable mappings (default) > noexec=off: disable non-executable mappings > > + noextnmi [X86] > + Mask external NMI. This option is useful for a > + dump capture kernel to be shot down by NMI. That should read: "...not to be shot down", right? Other than that. Acked-by: Thomas Gleixner