<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/sysrq.txt, branch linux-4.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-09-08T22:35:28Z</updated>
<entry>
<title>mm, oom: do not panic for oom kills triggered from sysrq</title>
<updated>2015-09-08T22:35:28Z</updated>
<author>
<name>David Rientjes</name>
</author>
<published>2015-09-08T22:00:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=071a4befebb655d6b31bf5c6bacd5a6df035224d'/>
<id>urn:sha1:071a4befebb655d6b31bf5c6bacd5a6df035224d</id>
<content type='text'>
Sysrq+f is used to kill a process either for debug or when the VM is
otherwise unresponsive.

It is not intended to trigger a panic when no process may be killed.

Avoid panicking the system for sysrq+f when no processes are killed.

Signed-off-by: David Rientjes &lt;rientjes@google.com&gt;
Suggested-by: Michal Hocko &lt;mhocko@suse.cz&gt;
Cc: Sergey Senozhatsky &lt;sergey.senozhatsky.work@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Documentation/sysrq.txt: Mention MIPS TLB dump (x)</title>
<updated>2015-09-03T10:07:43Z</updated>
<author>
<name>James Hogan</name>
</author>
<published>2015-07-15T15:17:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f6ce77538c3f0628acdeee30738e4c8fe08d7e2'/>
<id>urn:sha1:0f6ce77538c3f0628acdeee30738e4c8fe08d7e2</id>
<content type='text'>
Commit d1e9a4f54735 ("MIPS: Add SysRq operation to dump TLBs on all
CPUs") added the 'x' sysrq key for dumping MIPS TLB entries, but didn't
document it in Documentation/sysrq.txt.

Add mention of the MIPS use of the 'x' SysRq key.

Reported-by: Maciej W. Rozycki &lt;macro@linux-mips.org&gt;
Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
Acked-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: Maciej W. Rozycki &lt;macro@linux-mips.org&gt;
Cc: linux-mips@linux-mips.org
Cc: linux-doc@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10720/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>sysrq: Allow magic SysRq key functions to be disabled through Kconfig</title>
<updated>2013-10-16T20:01:44Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2013-10-07T00:05:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8eaede49dfdc1ff1d727f9c913665b8009945191'/>
<id>urn:sha1:8eaede49dfdc1ff1d727f9c913665b8009945191</id>
<content type='text'>
Turn the initial value of sysctl kernel.sysrq (SYSRQ_DEFAULT_ENABLE)
into a Kconfig variable.

Original version by Bastian Blank &lt;waldi@debian.org&gt;.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysrq: Document hexadecimal values for kernel.sysrq bitmask</title>
<updated>2013-10-16T20:01:44Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2013-10-06T23:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8b5cbb041130ef297c90f8af2d3d45dfb9e6d15'/>
<id>urn:sha1:e8b5cbb041130ef297c90f8af2d3d45dfb9e6d15</id>
<content type='text'>
It makes more sense to enter a bitmask in hexadecimal rather than
decimal.  Sadly we can't make it read back as hexadecimal.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Documentation/sysrq: fix inconstistent help message of sysrq key</title>
<updated>2013-05-01T00:04:10Z</updated>
<author>
<name>zhangwei(Jovi)</name>
</author>
<published>2013-04-30T22:28:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2a8b0a779787314eca1061308a8182e6c5bfabd'/>
<id>urn:sha1:e2a8b0a779787314eca1061308a8182e6c5bfabd</id>
<content type='text'>
Currently help message of /proc/sysrq-trigger highlight its
upper-case characters, like below:

      SysRq : HELP : loglevel(0-9) reBoot Crash terminate-all-tasks(E)
      memory-full-oom-kill(F) kill-all-tasks(I) ...

this would confuse user trigger sysrq by upper-case character, which is
inconsistent with the real lower-case character registed key.

This inconsistent help message will also lead more confused when
26 upper-case letters put into use in future.

This patch fix sysrq documentation.

Signed-off-by: zhangwei(Jovi) &lt;jovi.zhangwei@huawei.com&gt;
Cc: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>sparc64: Add global PMU register dumping via sysrq.</title>
<updated>2012-10-16T16:34:01Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-10-16T16:34:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=916ca14aaf12a7191118adb51bb95e3c7866380d'/>
<id>urn:sha1:916ca14aaf12a7191118adb51bb95e3c7866380d</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Documentation: sysrq: Crutcher Dunnavant is unavailable</title>
<updated>2012-03-30T23:03:15Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2012-03-30T20:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=21106b0114f75cff199d6834f676877c3edae928'/>
<id>urn:sha1:21106b0114f75cff199d6834f676877c3edae928</id>
<content type='text'>
Reported-by: Křištof Želechovski &lt;giecrilj@stegny.2a.pl&gt;
Signed-off-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>documentation: update sysrq.txt magic sysrq keys</title>
<updated>2010-10-27T00:32:41Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2010-10-26T21:20:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=003bb8ab7cecbfd1830bbccf9c6a9e2047d27c5c'/>
<id>urn:sha1:003bb8ab7cecbfd1830bbccf9c6a9e2047d27c5c</id>
<content type='text'>
Update Documentation/sysrq.txt magic sysrq keys:

 - 'g' is for kgdb (not arch-specific);
 - add 2 new uses for 'v', remove the Voyager info;
 - add 'y' info (SPARC-64 specific);

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Cc: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: "James E.J. Bottomley" &lt;James.Bottomley@suse.de&gt;
Cc: David Airlie &lt;airlied@linux.ie&gt;
Acked-by: Alexander Shishkin &lt;virtuoso@slind.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Input: Documentation/sysrq.txt - update KEY_SYSRQ info</title>
<updated>2010-05-19T17:14:15Z</updated>
<author>
<name>Paul Fox</name>
</author>
<published>2010-05-19T17:11:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2056ffd4ae9e578ff9abb5eb49137020af71fd4'/>
<id>urn:sha1:a2056ffd4ae9e578ff9abb5eb49137020af71fd4</id>
<content type='text'>
While setting up sysrq operation on the XO laptop (which lacks a SysRq
key), i realized that the documentation was quite out of date.

Change documentation of SysRq to reflect current KEY_SYSRQ value.

Signed-off-by: Paul Fox &lt;pgf@laptop.org&gt;
Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>sysrq, kdump: make sysrq-c consistent</title>
<updated>2009-07-30T02:10:36Z</updated>
<author>
<name>Hidetoshi Seto</name>
</author>
<published>2009-07-29T22:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cab8bd3410d448279e3bd0fbf96d31db0bf770fa'/>
<id>urn:sha1:cab8bd3410d448279e3bd0fbf96d31db0bf770fa</id>
<content type='text'>
commit d6580a9f15238b87e618310c862231ae3f352d2d ("kexec: sysrq: simplify
sysrq-c handler") changed the behavior of sysrq-c to unconditional
dereference of NULL pointer.  So in cases with CONFIG_KEXEC, where
crash_kexec() was directly called from sysrq-c before, now it can be said
that a step of "real oops" was inserted before starting kdump.

However, in contrast to oops via SysRq-c from keyboard which results in
panic due to in_interrupt(), oops via "echo c &gt; /proc/sysrq-trigger" will
not become panic unless panic_on_oops=1.  It means that even if dump is
properly configured to be taken on panic, the sysrq-c from proc interface
might not start crashdump while the sysrq-c from keyboard can start
crashdump.  This confuses traditional users of kdump, i.e.  people who
expect sysrq-c to do common behavior in both of the keyboard and proc
interface.

This patch brings the keyboard and proc interface behavior of sysrq-c in
line, by forcing panic_on_oops=1 before oops in sysrq-c handler.

And some updates in documentation are included, to clarify that there is
no longer dependency with CONFIG_KEXEC, and that now the system can just
crash by sysrq-c if no dump mechanism is configured.

Signed-off-by: Hidetoshi Seto &lt;seto.hidetoshi@jp.fujitsu.com&gt;
Cc: Lai Jiangshan &lt;laijs@cn.fujitsu.com&gt;
Cc: Ken'ichi Ohmichi &lt;oomichi@mxs.nes.nec.co.jp&gt;
Acked-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Acked-by: Vivek Goyal &lt;vgoyal@redhat.com&gt;
Cc: Brayan Arraes &lt;brayan@yack.com.br&gt;
Cc: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
