Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM64: smp: Fix suspicious RCU usage with ipi tracepoints
John Stultz reported an RCU splat on ARM with ipi trace events enabled. It looks like the same problem exists on ARM64. At this point in the IPI handling path we haven't called irq_enter() yet, so RCU doesn't know that we're about to exit idle and properly warns that we're using RCU from an idle CPU. Use trace_ipi_entry_rcuidle() instead of trace_ipi_entry() so that RCU is informed about our exit from idle. Cc: John Stultz <[email protected]> Cc: Nicolas Pitre <[email protected]> Acked-by: Steven Rostedt <[email protected]> Reviewed-by: Paul E. McKenney <[email protected]> Cc: <[email protected]> # 3.17+ Fixes: 45ed695 ("ARM64: add IPI tracepoints") Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
- Loading branch information