mbox series

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

Message ID cover.1612898425.git.christophe.leroy@csgroup.eu (mailing list archive)
Headers show
Series powerpc/32: Implement C syscall entry/exit (complement) | expand

Message

Christophe Leroy Feb. 9, 2021, 7:29 p.m. UTC
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(-)

Comments

Michael Ellerman Feb. 12, 2021, 12:19 a.m. UTC | #1
On Tue, 9 Feb 2021 19:29:26 +0000 (UTC), Christophe Leroy wrote:
> 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.
> 
> [...]

Applied to powerpc/next.

[1/3] powerpc/syscall: Do not check unsupported scv vector on PPC32
      https://git.kernel.org/powerpc/c/b966f2279048ee9f30d83ef8568b99fa40917c54
[2/3] powerpc/32: Handle bookE debugging in C in syscall entry/exit
      https://git.kernel.org/powerpc/c/d524dda719f06967db4d3ba519edf9267f84c155
[3/3] powerpc/syscall: Avoid storing 'current' in another pointer
      https://git.kernel.org/powerpc/c/5b90b9661a3396e00f6e8bcbb617a0787fb683d0

cheers