linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] documentation: update sysrq.txt magic sysrq keys
@ 2010-10-26 21:20 Randy Dunlap
  2010-10-27  1:36 ` Jason Wessel
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-10-26 21:20 UTC (permalink / raw)
  To: lkml
  Cc: torvalds, Jason Wessel, David S. Miller, James E.J. Bottomley,
	David Airlie, Alexander Shishkin

From: Randy Dunlap <randy.dunlap@oracle.com>

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 <randy.dunlap@oracle.com>
Cc:	Jason Wessel <jason.wessel@windriver.com>
Cc:	"David S. Miller" <davem@davemloft.net>
Cc:	"James E.J. Bottomley" <James.Bottomley@suse.de>
Cc:	David Airlie <airlied@linux.ie>
Acked-by: Alexander Shishkin <virtuoso@slind.org>
---
 Documentation/sysrq.txt |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- lnx-2636-g6-docs.orig/Documentation/sysrq.txt
+++ lnx-2636-g6-docs/Documentation/sysrq.txt
@@ -75,7 +75,7 @@ On all -  write a character to /proc/sys
 
 'f'	- Will call oom_kill to kill a memory hog process.
 
-'g'	- Used by kgdb on ppc and sh platforms.
+'g'	- Used by kgdb (kernel debugger)
 
 'h'     - Will display help (actually any other key than those listed
           here will display help. but 'h' is easy to remember :-)
@@ -110,12 +110,15 @@ On all -  write a character to /proc/sys
 
 'u'     - Will attempt to remount all mounted filesystems read-only.
 
-'v'	- Dumps Voyager SMP processor info to your console.
+'v'	- Forcefully restores framebuffer console
+'v'	- Causes ETM buffer dump [ARM-specific]
 
 'w'	- Dumps tasks that are in uninterruptable (blocked) state.
 
 'x'	- Used by xmon interface on ppc/powerpc platforms.
 
+'y'	- Show global CPU Registers [SPARC-64 specific]
+
 'z'	- Dump the ftrace buffer
 
 '0'-'9' - Sets the console log level, controlling which kernel messages

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] documentation: update sysrq.txt magic sysrq keys
  2010-10-26 21:20 [PATCH] documentation: update sysrq.txt magic sysrq keys Randy Dunlap
@ 2010-10-27  1:36 ` Jason Wessel
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Wessel @ 2010-10-27  1:36 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: lkml, torvalds, David S. Miller, James E.J. Bottomley,
	David Airlie, Alexander Shishkin


Acked-by: Jason Wessel <jason.wessel@windriver.com>

If you take a look at commit: 364b5b7b1d793a7f98be55b6b154716dcae78dfc,
the voyager and kgdb bits were originally fixed there.  It was not
obvious to me at the time that this was documented in multiple places,
else it would have been fixed in the same commit.

Cheers,
Jason.

On 10/26/2010 04:20 PM, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> 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 <randy.dunlap@oracle.com>
> Cc:	Jason Wessel <jason.wessel@windriver.com>
> Cc:	"David S. Miller" <davem@davemloft.net>
> Cc:	"James E.J. Bottomley" <James.Bottomley@suse.de>
> Cc:	David Airlie <airlied@linux.ie>
> Acked-by: Alexander Shishkin <virtuoso@slind.org>
> ---
>  Documentation/sysrq.txt |    7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> --- lnx-2636-g6-docs.orig/Documentation/sysrq.txt
> +++ lnx-2636-g6-docs/Documentation/sysrq.txt
> @@ -75,7 +75,7 @@ On all -  write a character to /proc/sys
>  
>  'f'	- Will call oom_kill to kill a memory hog process.
>  
> -'g'	- Used by kgdb on ppc and sh platforms.
> +'g'	- Used by kgdb (kernel debugger)
>  
>  'h'     - Will display help (actually any other key than those listed
>            here will display help. but 'h' is easy to remember :-)
> @@ -110,12 +110,15 @@ On all -  write a character to /proc/sys
>  
>  'u'     - Will attempt to remount all mounted filesystems read-only.
>  
> -'v'	- Dumps Voyager SMP processor info to your console.
> +'v'	- Forcefully restores framebuffer console
> +'v'	- Causes ETM buffer dump [ARM-specific]
>  
>  'w'	- Dumps tasks that are in uninterruptable (blocked) state.
>  
>  'x'	- Used by xmon interface on ppc/powerpc platforms.
>  
> +'y'	- Show global CPU Registers [SPARC-64 specific]
> +
>  'z'	- Dump the ftrace buffer
>  
>  '0'-'9' - Sets the console log level, controlling which kernel messages
>   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-27  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 21:20 [PATCH] documentation: update sysrq.txt magic sysrq keys Randy Dunlap
2010-10-27  1:36 ` Jason Wessel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).