Skip to content

RFC Move 64e to new interrupt return code

Nicholas Piggin kvm-ppc linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7powerpc/syscall: switch user_exit_irqoff and trace_hardirqs_off orderarch/powerpc/kernel/interrupt.c+2 -20 replies
2/7powerpc/64e/interrupt: always save nvgprs on interruptarch/powerpc/include/asm/ptrace.h arch/powerpc/kernel/entry_64.S arch/powerpc/kernel/exceptions-64e.S+4 -450 replies
3/7powerpc/64e/interrupt: use new interrupt returnarch/powerpc/include/asm/asm-prototypes.h arch/powerpc/kernel/entry_64.S arch/powerpc/kernel/exceptions-64e.S +2 more+51 -3830 replies
4/7powerpc/64e/interrupt: reconcile irq soft-mask state in Carch/powerpc/include/asm/interrupt.h arch/powerpc/kernel/entry_64.S arch/powerpc/kernel/exceptions-64e.S+12 -550 replies
5/7KVM: PPC: Remove RECONCILE_IRQ_STATE from guest exitarch/powerpc/include/asm/irqflags.h arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/book3s_pr.c +2 more+13 -930 replies
6/7powerpc/64e/interrupt: handle bad_page_fault in Carch/powerpc/kernel/exceptions-64e.S arch/powerpc/mm/fault.c+2 -80 replies
7/7powerpc/64e/interrupt: Use new interrupt context tracking schemearch/powerpc/include/asm/interrupt.h arch/powerpc/kernel/interrupt.c+0 -400 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/7] Move 64e to new interrupt return code

Time to finally try removing the remaining old cruft left over from the big interrupt return rewrite in C.

This series will clash lightly with Christophe's one to switch ppc32 over. His should go in first because it's a lot bigger and more mature at this stage. I will rebase this series on top of his at some point but at the moment it's just based on upstream.

Patch 1 should go in as a fix, patch 5 is not required for this series I'll drop it from non-rfc series and send it separately (it's not tested at the moment).

Thanks,
Nick

Nicholas Piggin (7):
powerpc/syscall: switch user_exit_irqoff and trace_hardirqs_off order powerpc/64e/interrupt: always save nvgprs on interrupt powerpc/64e/interrupt: use new interrupt return powerpc/64e/interrupt: reconcile irq soft-mask state in C
KVM: PPC: Remove RECONCILE_IRQ_STATE from guest exit powerpc/64e/interrupt: handle bad_page_fault in C powerpc/64e/interrupt: Use new interrupt context tracking scheme

 arch/powerpc/include/asm/asm-prototypes.h |   2 -
 arch/powerpc/include/asm/interrupt.h      |  31 +-
 arch/powerpc/include/asm/irqflags.h       |  58 ----
 arch/powerpc/include/asm/kvm_ppc.h        |  22 --
 arch/powerpc/include/asm/ptrace.h         |   9 +-
 arch/powerpc/kernel/entry_64.S            |  40 +--
 arch/powerpc/kernel/exceptions-64e.S      | 394 ++--------------------
 arch/powerpc/kernel/interrupt.c           |  18 +-
 arch/powerpc/kernel/irq.c                 |  76 -----
 arch/powerpc/kvm/book3s_pr.c              |   8 +-
 arch/powerpc/kvm/booke.c                  |   9 +-
 arch/powerpc/kvm/bookehv_interrupts.S     |   9 -
 arch/powerpc/mm/fault.c                   |   4 +-
 13 files changed, 69 insertions(+), 611 deletions(-)
Signature · 1 line
2.23.0