Skip to content

sysrq: Simple fixes and console visibility

Petr Mladek lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sysrq: Restore original console_loglevel when sysrq disableddrivers/tty/sysrq.c+1 -00 replies
2/3sysrq: Remove duplicated sysrq messagedrivers/tty/sysrq.c+3 -42 replies
3/3sysrq: Warn about insufficient console_logleveldrivers/tty/sysrq.c include/linux/printk.h kernel/printk/printk.c+36 -43 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchSergey Senozhatsky
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] sysrq: Simple fixes and console visibility

The first two patches are simple bug fixes.

The last one is RFC to fix a bug report. It is not obvious why sysrq debug operations show only the sysrq header on the console. The filtering by console_loglevel makes some sense. The level can actually be set by sysrq.

The solution implemented in the RFC is a warning. It is a simple idea but the implementation is relatively complicated. Mainly because all parts sysrq, printk, and consoles are heavily configurable.

PS: I sent the first patch also separately. It was simple and it was independent in my first draft of the RFC. I am sorry for confusion.

Petr Mladek (3):
sysrq: Restore original console_loglevel when sysrq disabled
sysrq: Remove duplicated sysrq message
sysrq: Warn about insufficient console_loglevel

 drivers/tty/sysrq.c    | 34 ++++++++++++++++++++++++++++++----
 include/linux/printk.h |  7 +++++++
 kernel/printk/printk.c |  7 +++----
 3 files changed, 40 insertions(+), 8 deletions(-)
Signature · 1 line
2.13.7