Skip to content

printk: Add force_early_printk boot param

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 34 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3printk: Fix kdb_trap_printk placementkernel/printk/printk.c+6 -1212 replies
2/3early_printk: Add force_early_printk kernel parameterkernel/printk/printk.c+47 -219 replies
3/3early_printk: Add simple serialization to early_vprintk()kernel/printk/printk.c+34 -111 replies

Reviews trailers per patch

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

PatchSteven Rostedt (VMware)
1/3R-b
2/3
3/3R-b

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] printk: Add force_early_printk boot param

Most all printk() bits are terminally broken because they rely on the scheduler and blocking locks to function, making them unsuitable for debugging the scheduler and NMI context things.

Luckily many early_printk implementations are relatively sane and don't rely on anything much at all; the x86 early_serial_console for example is pure bit-banging without anything.

So provide means to always use these and avoid the whole printk mess.