ANDROID: arm64: smp: fix Lockdep warning: RCU used illegally from idle CPU.
This problem will happened if handle_IPI is called from idle CPU. Use trace_android_vh_ipi_stop_rcuidle() to fix this issue Bug: 171683158 Change-Id: Ic49fc1ddc19a54415dec3f28b68f42fa258ffeea Signed-off-by: Cheng Jui Wang <cheng-jui.wang@mediatek.com> Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com> Signed-off-by: Todd Kjos <tkjos@google.com>
This commit is contained in:
committed by
Todd Kjos
parent
9ee350d7ec
commit
4af50419db
@@ -956,7 +956,7 @@ static void do_handle_IPI(int ipinr)
|
||||
break;
|
||||
|
||||
case IPI_CPU_STOP:
|
||||
trace_android_vh_ipi_stop(get_irq_regs());
|
||||
trace_android_vh_ipi_stop_rcuidle(get_irq_regs());
|
||||
local_cpu_stop();
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user