Re: powerpc/64: Fix latency tracing for lazy irq replay

2017-11-07 Thread Michael Ellerman
On Sat, 2017-10-21 at 07:56:06 UTC, Nicholas Piggin wrote: > 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_rep

[PATCH] powerpc/64: Fix latency tracing for lazy irq replay

2017-10-21 Thread Nicholas Piggin
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 ne