On Thu, Dec 03, 2020 at 08:28:22AM -0500, Sasha Levin wrote:
From: Peter Zijlstra peterz@infradead.org
[ Upstream commit 6e1d2bc675bd57640f5658a4a657ae488db4c204 ]
cpuidle->enter() callbacks should not call into tracing because RCU has already been disabled. Instead of doing the broadcast thing itself, simply advertise to the cpuidle core that those states stop the timer.
Signed-off-by: Peter Zijlstra (Intel) peterz@infradead.org Acked-by: Rafael J. Wysocki rafael.j.wysocki@intel.com Link: https://lkml.kernel.org/r/20201123143510.GR3021@hirez.programming.kicks-ass.... Signed-off-by: Sasha Levin sashal@kernel.org
This patch has a known compile issue, fix is pending.