Skip to content

powerpc: fast interrupt exit bug and misc fixes

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8powerpc/64e: fix CONFIG_RELOCATABLE buildarch/powerpc/kernel/exceptions-64e.S+11 -00 replies
2/8powerpc/64e: remove implicit soft-masking and interrupt exit restart logicarch/powerpc/include/asm/interrupt.h arch/powerpc/kernel/exceptions-64e.S arch/powerpc/kernel/interrupt_64.S+40 -210 replies
3/8powerpc/64s: add a table of implicit soft-masked addressesarch/powerpc/include/asm/interrupt.h arch/powerpc/include/asm/ppc_asm.h arch/powerpc/kernel/exceptions-64s.S +3 more+100 -101 reply
4/8powerpc/64s/interrupt: preserve regs->softe for NMI interruptsarch/powerpc/include/asm/interrupt.h+3 -00 replies
5/8powerpc/64: enable MSR[EE] in irq replay pt_regsarch/powerpc/include/asm/interrupt.h arch/powerpc/kernel/irq.c+5 -02 replies
6/8powerpc/64/interrupts: add missing kprobe annotations on interrupt exit symbolsarch/powerpc/kernel/interrupt_64.S+6 -00 replies
7/8powerpc/64s/interrupt: clean up interrupt return labelsarch/powerpc/kernel/interrupt_64.S+5 -30 replies
8/8powerpc/64s: move ret_from_fork etc above __end_soft_maskedarch/powerpc/kernel/interrupt_64.S+26 -260 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchSachin Sant
1/8
2/8
3/8T-b
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] powerpc: fast interrupt exit bug and misc fixes

This is a bunch of fixes for powerpc next, mostly a nasty hole in fast interrupt exit code found by Sachin and some other bits along the way while looking at it.

So far this survives about 5 hours of stress testing with a workload that would trigger it in a few seconds (guest 128 vcpus running kernel compile loops with perf record -ag running in the background).

Thanks,
Nick

Nicholas Piggin (8):
powerpc/64e: fix CONFIG_RELOCATABLE build
powerpc/64e: remove implicit soft-masking and interrupt exit restart
logic
powerpc/64s: add a table of implicit soft-masked addresses powerpc/64s/interrupt: preserve regs->softe for NMI interrupts powerpc/64: enable MSR[EE] in irq replay pt_regs powerpc/64/interrupts: add missing kprobe annotations on interrupt
exit symbols
powerpc/64s/interrupt: clean up interrupt return labels powerpc/64s: move ret_from_fork etc above __end_soft_masked

 arch/powerpc/include/asm/interrupt.h | 41 ++++++++++---
 arch/powerpc/include/asm/ppc_asm.h   |  7 +++
 arch/powerpc/kernel/exceptions-64e.S | 23 +++----
 arch/powerpc/kernel/exceptions-64s.S | 55 ++++++++++++++---
 arch/powerpc/kernel/interrupt_64.S   | 90 ++++++++++++++++++----------
 arch/powerpc/kernel/irq.c            |  1 +
 arch/powerpc/kernel/vmlinux.lds.S    |  9 +++
 arch/powerpc/lib/restart_table.c     | 26 ++++++++
 8 files changed, 194 insertions(+), 58 deletions(-)
Signature · 1 line
2.23.0