printk: Introduce loglevel bypass for pstore console
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | printk: Introduce CON_BYPASS_LOGLEVEL flaginclude/ kernel/ kernel/ | +13 | 0 replies | |
| 2/2 | pstore: Bypass loglevel suppression for pstore consolefs/ fs/ include/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] printk: Introduce loglevel bypass for pstore console
Currently, offline consoles (e.g., pstore_console backed by ramoops) inherit the system's global console_loglevel.
In production environments, physical serial consoles (UARTs) are often heavily rate-limited to prevent verbose messages from causing severe execution bottlenecks. Unfortunately, this identically silences the pstore console. When a kernel panic or lockup occurs, engineers are left inspecting a crash dump that has been stripped of the verbose logs that could have identified the root cause.
This series introduces CON_BYPASS_LOGLEVEL, a simple flag that allows specialized offline consoles to request unsuppressed logs directly.
Patch 1 introduces the CON_BYPASS_LOGLEVEL flag.
Patch 2 adopts the flag in pstore_console.
Tzung-Bi Shih (2):
printk: Introduce CON_BYPASS_LOGLEVEL flag
pstore: Bypass loglevel suppression for pstore console
fs/pstore/platform.c | 4 ++++ fs/pstore/ram.c | 3 ++- include/linux/console.h | 4 ++++ include/linux/pstore.h | 2 ++ kernel/printk/nbcon.c | 7 +++++-- kernel/printk/printk.c | 6 ++++-- 6 files changed, 21 insertions(+), 5 deletions(-)
Signature · 1 line
2.55.0.897.gb25b4bd76c-goog