Skip to content

interrupt tracing fixes

Nicholas Piggin linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4powerpc: define __ARCH_IRQ_EXIT_IRQS_DISABLEDarch/powerpc/include/asm/hardirq.h+1 -01 reply
2/4powerpc/64: do not trace irqs-off at interrupt return to soft-disabled contextarch/powerpc/kernel/entry_64.S+7 -36 replies
3/4cpuidle/powernv: avoid double irq enable coming out of idledrivers/cpuidle/cpuidle-powernv.c+2 -01 reply
4/4cpuidle/powernv: avoid double irq enable coming out of idledrivers/cpuidle/cpuidle-pseries.c+4 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] interrupt tracing fixes

Here are a few loosely related fixes for interrupt tracing code and irq state handling which eliminates local_irq_enable() when already enabled, and local_irq_disable() when already disabled, and also fixes an NMI re-entrancy bug in irq tracing that has been crashing in the field when PMU interrupts (non-maskable) and irq tracing runs together it's causing things to get into "impossible" states.

I have only tested 64s, and don't know if patch 1 and 2 are right on 64e or 32 so if anyone could take a look or test, that would be good.

Thanks,
Nick

Nicholas Piggin (4):
powerpc: define __ARCH_IRQ_EXIT_IRQS_DISABLED
powerpc/64: do not trace irqs-off at interrupt return to soft-disabled
context
cpuidle/powernv: avoid double irq enable coming out of idle cpuidle/powernv: avoid double irq enable coming out of idle

 arch/powerpc/include/asm/hardirq.h |  1 +
 arch/powerpc/kernel/entry_64.S     | 10 +++++++---
 drivers/cpuidle/cpuidle-powernv.c  |  2 ++
 drivers/cpuidle/cpuidle-pseries.c  |  6 ++++--
 4 files changed, 14 insertions(+), 5 deletions(-)
Signature · 1 line
2.15.0