Skip to content

Fix panic regression in 2.6.27

Andi Kleen lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add a SYSTEM_PANIC stateinclude/linux/kernel.h kernel/panic.c+3 -04 replies
2/2Don't complain about disabled irqs when the system has panicedkernel/smp.c+4 -311 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH] [0/2] Fix panic regression in 2.6.27

panic() from an interrupt right now spews lots of ugly WARN_ON warnings because panic->smp_send_stop calls the new smp call helpers which complain on irqs_disabled().

I fixed it in two parts: add a new SYSTEM_PANIC state to check cleanly for panic and then disable the warnings in this case.

I believe this should be fixed for 2.6.27.

-Andi