Skip to content

RFC fix RCU stall warning on ARM

Frank Rowand linux-arm-kernel linux-rt-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM version of arch_trigger_all_cpu_backtrace()arch/arm/include/asm/hardirq.h arch/arm/include/asm/irq.h arch/arm/kernel/smp.c+76 -10 replies
2/2let RCU stall messages escape with CONFIG_PREEMPT_RT_FULLkernel/printk.c kernel/rcutree.c+17 -22 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RT 0/2][RFC] fix RCU stall warning on ARM

The RCU stall warning functions call trigger_all_cpu_backtrace() to print a backtrace on each cpu. This function is only implemented for x86. Add a version for ARM.

With CONFIG_PREEMPT_RT_FULL enabled, flushing the output from printk() is inhibited in some contexts to avoid increasing real time latencies. The RCU stall warnings are inhibited on ARM due to this feature. (I have not tested whether this is also the case on other architectures.) Add back the oops_in_progress flag to allow the RCU stall warnings to print immediately.

A third patch contains test scaffolding to force the stall warnings to occur so that the other patches can be tested. The third patch should __not__ added to the mainline RT PREEMPT patch tree.

These patches apply to 3.6.7-rt18. They do not apply cleanly to 3.0.xx.