]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Fix latency tracing for lazy irq replay
authorNicholas Piggin <npiggin@gmail.com>
Sat, 21 Oct 2017 07:56:06 +0000 (17:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Nov 2017 05:48:07 +0000 (16:48 +1100)
commitff967900c9d4740f6337c6456f111104267633cb
tree136a411741429b7ec6865aa56c4fb236a98f4470
parent6de6638b35daa0dfb7daefd78d55015655b4d8f3
powerpc/64: Fix latency tracing for lazy irq replay

When returning from an exception to a soft-enabled context, pending
IRQs are replayed but IRQ tracing is not reset, so a number of them
can get chained together into the same IRQ-disabled trace.

Fix this by having __check_irq_replay re-set IRQ trace. This is
conceptually where we respond to the next interrupt, so it fits the
semantics of the IRQ tracer.

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