From: Andrew Morton <akpm@osdl.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Andi Kleen <ak@muc.de>, Don Zickus <dzickus@redhat.com>
Subject: Re: [PATCH] x86: Allow users to force a panic on NMI
Date: Tue, 26 Sep 2006 16:58:57 -0700 [thread overview]
Message-ID: <20060926165857.4bf90fd6.akpm@osdl.org> (raw)
In-Reply-To: <200609262259.k8QMxxa9012876@hera.kernel.org>
On Tue, 26 Sep 2006 22:59:59 GMT
Linux Kernel Mailing List <linux-kernel@vger.kernel.org> wrote:
> --- a/kernel/panic.c
> +++ b/kernel/panic.c
> @@ -21,6 +21,7 @@ #include <linux/kexec.h>
> #include <linux/debug_locks.h>
>
> int panic_on_oops;
> +int panic_on_unrecovered_nmi;
> int tainted;
> static int pause_on_oops;
> static int pause_on_oops_flag;
Is visible to all architectures.
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index 040de6b..220e205 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -642,6 +642,14 @@ #if defined(CONFIG_X86_LOCAL_APIC) && de
> #endif
> #if defined(CONFIG_X86)
> {
> + .ctl_name = KERN_PANIC_ON_NMI,
> + .procname = "panic_on_unrecovered_nmi",
> + .data = &panic_on_unrecovered_nmi,
> + .maxlen = sizeof(int),
> + .mode = 0644,
> + .proc_handler = &proc_dointvec,
> + },
> + {
But is x86-only.
next parent reply other threads:[~2006-09-26 23:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200609262259.k8QMxxa9012876@hera.kernel.org>
2006-09-26 23:58 ` Andrew Morton [this message]
2006-09-27 7:41 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060926165857.4bf90fd6.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=ak@muc.de \
--cc=dzickus@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome