[PATCH v6 0/2] powerpc/32: Implement C syscall entry/exit (complement)

From: Christophe Leroy
Date: Tue Feb 09 2021 - 18:14:37 EST


This series implements C syscall entry/exit for PPC32. It reuses
the work already done for PPC64.

This series is based on today's next-test (f538b53fd47a) where main patchs from v5 are merged in.

The first patch is important for performance.

v6:
- Forced scv param to 0 on syscall_exit_prepare(), and added is_not_scv bool.
- Reworked the last patch to avoid code duplication.

Christophe Leroy (2):
powerpc/syscall: Do not check unsupported scv vector on PPC32
powerpc/32: Handle bookE debugging in C in syscall entry/exit

arch/powerpc/include/asm/interrupt.h | 12 +++++++
arch/powerpc/include/asm/ptrace.h | 5 +++
arch/powerpc/include/asm/reg_booke.h | 3 ++
arch/powerpc/kernel/entry_32.S | 7 ----
arch/powerpc/kernel/head_32.h | 15 ---------
arch/powerpc/kernel/head_booke.h | 19 -----------
arch/powerpc/kernel/interrupt.c | 50 ++++++++++++++++++----------
7 files changed, 52 insertions(+), 59 deletions(-)

--
2.25.0