powerpc/64: interrupts and syscalls series
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest32 patches 20 repliesIn review
- v220 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/32 | powerpc/64s/exception: Introduce INT_DEFINE parameter block for code generationarch/ | +73 | 1 reply | |
| 2/32 | powerpc/64s/exception: Add GEN_COMMON macro that uses INT_DEFINE parametersarch/ | +17 | 0 replies | |
| 3/32 | powerpc/64s/exception: Add GEN_KVM macro that uses INT_DEFINE parametersarch/ | +11 | 0 replies | |
| 4/32 | powerpc/64s/exception: Expand EXC_COMMON and EXC_COMMON_ASYNC macrosarch/ | +117 | 0 replies | |
| 5/32 | powerpc/64s/exception: Move all interrupt handlers to new style code gen macrosarch/ | +418 | 0 replies | |
| 6/32 | powerpc/64s/exception: Remove old INT_ENTRY macroarch/ | +30 | 0 replies | |
| 7/32 | powerpc/64s/exception: Remove old INT_COMMON macroarch/ | +24 | 0 replies | |
| 8/32 | powerpc/64s/exception: Remove old INT_KVM_HANDLERarch/ | +26 | 0 replies | |
| 9/32 | powerpc/64s/exception: Add ISIDE optionarch/ | +16 | 0 replies | |
| 10/32 | powerpc/64s/exception: move real->virt switch into the common handlerarch/ arch/ | +109 | 0 replies | |
| 11/32 | powerpc/64s/exception: move soft-mask test to common codearch/ | +49 | 0 replies | |
| 12/32 | powerpc/64s/exception: move KVM test to common codearch/ arch/ arch/ | +119 | 0 replies | |
| 13/32 | powerpc/64s/exception: remove confusing IEARLY optionarch/ | +24 | 0 replies | |
| 14/32 | powerpc/64s/exception: remove the SPR saving patch code macrosarch/ | +28 | 0 replies | |
| 15/32 | powerpc/64s/exception: trim unused arguments from KVMTEST macroarch/ | +5 | 0 replies | |
| 16/32 | powerpc/64s/exception: hdecrementer avoid touching the stackarch/ arch/ arch/ | +20 | 0 replies | |
| 17/32 | powerpc/64s/exception: re-inline some handlersarch/ | +3 | 0 replies | |
| 18/32 | powerpc/64s/exception: Clean up SRR specifiersarch/ | +32 | 0 replies | |
| 19/32 | powerpc/64s/exception: add more comments for interrupt handlersarch/ | +353 | 0 replies | |
| 20/32 | powerpc/64s/exception: only test KVM in SRR interrupts when PR KVM is supportedarch/ | +62 | 0 replies | |
| 21/32 | powerpc/64s/exception: sreset interrupts reconcile fixarch/ | +10 | 0 replies | |
| 22/32 | powerpc/64s/exception: soft nmi interrupt should not use ret_from_exceptarch/ | +28 | 0 replies | |
| 23/32 | powerpc/64: system call remove non-volatile GPR save optimisationarch/ arch/ | +28 | 0 replies | |
| 24/32 | powerpc/64: sstep ifdef the deprecated fast endian switch syscallarch/ | +3 | 0 replies | |
| 25/32 | powerpc/64: system call implement entry/exit logic in Carch/ arch/ arch/ +10 more | +328 | 2 replies | |
| 26/32 | powerpc/64: system call zero volatile registers when returningarch/ | +12 | 3 replies | |
| 27/32 | powerpc/64: implement soft interrupt replay in Carch/ arch/ arch/ +1 more | +130 | 0 replies | |
| 28/32 | powerpc/64s: interrupt implement exit logic in Carch/ arch/ arch/ +7 more | +642 | 15 replies | |
| 29/32 | powerpc/64s/exception: remove lite interrupt returnarch/ arch/ | +14 | 0 replies | |
| 30/32 | powerpc/64: system call reconcile interruptsarch/ arch/ | +24 | 0 replies | |
| 31/32 | powerpc/64s/exception: treat NIA below __end_interrupts as soft-maskedarch/ | +24 | 0 replies | |
| 32/32 | powerpc/64s: system call support for scv/rfscv instructionsDocumentation/ arch/ arch/ +12 more | +295 | 0 replies |
Reviews trailers per patch
None of the 32 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Arnd Bergmann | Christophe Leroy |
|---|---|---|
| Series | R-b R-b | R-b R-b R-b R-b R-b R-b |
| 1/32 | ||
| 2/32 | ||
| 3/32 | ||
| 4/32 | ||
| 5/32 | ||
| 6/32 | ||
| 7/32 | ||
| 8/32 | ||
| 9/32 | ||
| 10/32 | ||
| 11/32 | ||
| 12/32 | ||
| 13/32 | ||
| 14/32 | ||
| 15/32 | ||
| 16/32 | ||
| 17/32 | ||
| 18/32 | ||
| 19/32 | ||
| 20/32 | ||
| 21/32 | ||
| 22/32 | ||
| 23/32 | ||
| 24/32 | ||
| 25/32 | ||
| 26/32 | ||
| 27/32 | ||
| 28/32 | ||
| 29/32 | ||
| 30/32 | ||
| 31/32 | ||
| 32/32 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/32] powerpc/64: interrupts and syscalls series
This is a long overdue update of the series, with fixes from me Michal and Michael. Does not include Michal's syscall compat series.
Patches 1-22 are changes to low level 64s interrupt entry assembly which has been posted before, no change except adding patch 21 and fixing patch 22 to reconcile irq state in the soft-nmi handler to avoid preempt warnings.
Patches 23-26 are to turn system call entry/exit code into C. Bunch of irq and preempt and TM warnings and bugs caught by selftests etc fixed, plus a few peripheral patches added (sstep and zeroing regs).
Patches 27-29 are to turn interrupt exit code into C. This had a bit more change, most significantly a change to how interrupt exit soft irq replay works.
Patches 30-32 are for scv system call support. Lot of changes here to turn it into something a bit better than RFC quality. Discussion about ABI seems to be settling and not very controversial.
Thanks,
Nick
Nicholas Piggin (32):
powerpc/64s/exception: Introduce INT_DEFINE parameter block for code
generation
powerpc/64s/exception: Add GEN_COMMON macro that uses INT_DEFINE
parameters
powerpc/64s/exception: Add GEN_KVM macro that uses INT_DEFINE
parameters
powerpc/64s/exception: Expand EXC_COMMON and EXC_COMMON_ASYNC macros powerpc/64s/exception: Move all interrupt handlers to new style code
gen macros
powerpc/64s/exception: Remove old INT_ENTRY macro powerpc/64s/exception: Remove old INT_COMMON macro powerpc/64s/exception: Remove old INT_KVM_HANDLER powerpc/64s/exception: Add ISIDE option powerpc/64s/exception: move real->virt switch into the common handler powerpc/64s/exception: move soft-mask test to common code powerpc/64s/exception: move KVM test to common code powerpc/64s/exception: remove confusing IEARLY option powerpc/64s/exception: remove the SPR saving patch code macros powerpc/64s/exception: trim unused arguments from KVMTEST macro powerpc/64s/exception: hdecrementer avoid touching the stack powerpc/64s/exception: re-inline some handlers powerpc/64s/exception: Clean up SRR specifiers powerpc/64s/exception: add more comments for interrupt handlers powerpc/64s/exception: only test KVM in SRR interrupts when PR KVM is
supported
powerpc/64s/exception: sreset interrupts reconcile fix powerpc/64s/exception: soft nmi interrupt should not use
ret_from_except
powerpc/64: system call remove non-volatile GPR save optimisation powerpc/64: sstep ifdef the deprecated fast endian switch syscall powerpc/64: system call implement entry/exit logic in C powerpc/64: system call zero volatile registers when returning powerpc/64: implement soft interrupt replay in C powerpc/64s: interrupt implement exit logic in C powerpc/64s/exception: remove lite interrupt return powerpc/64: system call reconcile interrupts powerpc/64s/exception: treat NIA below __end_interrupts as soft-masked powerpc/64s: system call support for scv/rfscv instructions
Documentation/powerpc/syscall64-abi.rst | 42 +- arch/powerpc/include/asm/asm-prototypes.h | 17 +- .../powerpc/include/asm/book3s/64/kup-radix.h | 24 +- arch/powerpc/include/asm/cputime.h | 29 + arch/powerpc/include/asm/exception-64s.h | 10 +- arch/powerpc/include/asm/head-64.h | 2 +- arch/powerpc/include/asm/hw_irq.h | 6 +- arch/powerpc/include/asm/ppc_asm.h | 2 + arch/powerpc/include/asm/processor.h | 2 +- arch/powerpc/include/asm/ptrace.h | 3 + arch/powerpc/include/asm/setup.h | 4 +- arch/powerpc/include/asm/signal.h | 3 + arch/powerpc/include/asm/switch_to.h | 11 + arch/powerpc/include/asm/time.h | 4 +- arch/powerpc/kernel/Makefile | 3 +- arch/powerpc/kernel/cpu_setup_power.S | 2 +- arch/powerpc/kernel/cputable.c | 3 +- arch/powerpc/kernel/dt_cpu_ftrs.c | 1 + arch/powerpc/kernel/entry_64.S | 1017 +++----- arch/powerpc/kernel/exceptions-64e.S | 287 ++- arch/powerpc/kernel/exceptions-64s.S | 2168 ++++++++++++----- arch/powerpc/kernel/irq.c | 183 +- arch/powerpc/kernel/process.c | 89 +- arch/powerpc/kernel/setup_64.c | 5 +- arch/powerpc/kernel/signal.h | 2 - arch/powerpc/kernel/syscall_64.c | 379 +++ arch/powerpc/kernel/syscalls/syscall.tbl | 22 +- arch/powerpc/kernel/systbl.S | 9 +- arch/powerpc/kernel/time.c | 9 - arch/powerpc/kernel/vector.S | 2 +- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 11 - arch/powerpc/kvm/book3s_segment.S | 7 - arch/powerpc/lib/sstep.c | 5 +- arch/powerpc/platforms/pseries/setup.c | 8 +- 34 files changed, 2769 insertions(+), 1602 deletions(-) create mode 100644 arch/powerpc/kernel/syscall_64.c
Signature · 1 line
2.23.0