Re: [PATCH] powerpc/irq: Don't WARN continuously in arch_local_irq_restore()

2019-07-10 Thread Michael Ellerman
On Mon, 2019-07-08 at 06:10:46 UTC, Michael Ellerman wrote: > When CONFIG_PPC_IRQ_SOFT_MASK_DEBUG is enabled (uncommon), we have a > series of WARN_ON's in arch_local_irq_restore(). > > These are "should never happen" conditions, but if they do happen they > can flood the console and render the sy

[PATCH] powerpc/irq: Don't WARN continuously in arch_local_irq_restore()

2019-07-07 Thread Michael Ellerman
When CONFIG_PPC_IRQ_SOFT_MASK_DEBUG is enabled (uncommon), we have a series of WARN_ON's in arch_local_irq_restore(). These are "should never happen" conditions, but if they do happen they can flood the console and render the system unusable. So switch them to WARN_ON_ONCE(). Fixes: e2b36d591720