On Thu, 20 Aug 2020 09:30:33 +0200 Peter Zijlstra <pet...@infradead.org> wrote:
> +++ b/drivers/cpuidle/cpuidle.c > @@ -145,22 +145,27 @@ static void enter_s2idle_proper(struct c [..] > drv->states[index].enter_s2idle(dev, drv, index); > - WARN_ON(!irqs_disabled()); > + if (WARN_ON(!irqs_disabled())) > + local_irq_disable(); > /* This looks like a fix that should go in as a separate patch. As it looks unrelated to this patch. -- Steve