Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1291069

[PATCH 6/7] Documentation: Document kernel.panic_on_io_nmi sysctl

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject [PATCH 6/7] Documentation: Document kernel.panic_on_io_nmi sysctl
Date 2015-12-14 11:30 +0100
Message-ID <qFyyf-4PE-39@gated-at.bofh.it> (permalink)
References <qFyoz-4Kh-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>

kernel.panic_on_io_nmi sysctl was introduced by commit

  5211a242d0cb ("x86: Add sysctl to allow panic on IOCK NMI error")

but its documentation is missing. So, add it.

Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Requested-by: Borislav Petkov <bp@alien8.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: kexec@lists.infradead.org
Cc: linux-doc@vger.kernel.org
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ulrich Obergfell <uobergfe@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/20151210014637.25437.71903.stgit@softrs
Signed-off-by: Borislav Petkov <bp@suse.de>
---
 Documentation/sysctl/kernel.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
index af70d1541d3a..73c6b1ef0e84 100644
--- a/Documentation/sysctl/kernel.txt
+++ b/Documentation/sysctl/kernel.txt
@@ -551,6 +551,21 @@ the recommended setting is 60.
 
 ==============================================================
 
+panic_on_io_nmi:
+
+Controls the kernel's behavior when a CPU receives an NMI caused by
+an IO error.
+
+0: try to continue operation (default)
+
+1: panic immediately. The IO error triggered an NMI. This indicates a
+   serious system condition which could result in IO data corruption.
+   Rather than continuing, panicking might be a better choice. Some
+   servers issue this sort of NMI when the dump button is pushed,
+   and you can use this option to take a crash dump.
+
+==============================================================
+
 panic_on_oops:
 
 Controls the kernel's behaviour when an oops or BUG is encountered.
-- 
2.3.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] tip-queue 2015-12-14 Borislav Petkov <bp@alien8.de> - 2015-12-14 11:30 +0100
  [PATCH 5/7] x86/nmi: Save regs in crash dump on external NMI Borislav Petkov <bp@alien8.de> - 2015-12-14 11:30 +0100
  [PATCH 1/7] panic, x86: Fix re-entrance problem due to panic on NMI Borislav Petkov <bp@alien8.de> - 2015-12-14 11:30 +0100
  [PATCH 3/7] kexec: Fix race between panic() and crash_kexec() Borislav Petkov <bp@alien8.de> - 2015-12-14 11:30 +0100
  [PATCH 4/7] x86/apic: Introduce apic_extnmi command line parameter Borislav Petkov <bp@alien8.de> - 2015-12-14 11:30 +0100
  [PATCH 6/7] Documentation: Document kernel.panic_on_io_nmi sysctl Borislav Petkov <bp@alien8.de> - 2015-12-14 11:30 +0100

csiph-web