Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee9ce093 authored by Cheng Jui Wang's avatar Cheng Jui Wang Committed by Chun-Hung Wu
Browse files

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: default avatarCheng Jui Wang <cheng-jui.wang@mediatek.com>
Signed-off-by: default avatarChun-Hung Wu <chun-hung.wu@mediatek.com>
parent 7a0b7843
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -901,7 +901,7 @@ void handle_IPI(int ipinr, struct pt_regs *regs)
		break;

	case IPI_CPU_STOP:
		trace_android_vh_ipi_stop(regs);
		trace_android_vh_ipi_stop_rcuidle(regs);
		irq_enter();
		local_cpu_stop();
		irq_exit();