]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Disable irq restore warning for now
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Aug 2018 10:30:49 +0000 (20:30 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 11:49:24 +0000 (21:49 +1000)
commit12998b59fe1a63180f793ed1fee79be3c0411b2c
tree83b6ff5e27b3c01bd9343d06f58a6a10eea81ff4
parentd4d52a99fe3cd7aa84e3976b9ef0146836b1b540
powerpc/64: Disable irq restore warning for now

We recently added a warning in arch_local_irq_restore() to check that
the soft masking state matches reality.

Unfortunately it trips in a few places, which are not entirely trivial
to fix. The key problem is if we're doing function_graph tracing of
restore_math(), the warning pops and then seems to recurse. It's not
entirely clear because the system continuously oopses on all CPUs,
with the output interleaved and unreadable.

It's also been observed on a G5 coming out of idle.

Until we can fix those cases disable the warning for now.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/irq.c