]> Git Repo - linux.git/commit
powerpc/32: Always save non volatile GPRs at syscall entry
authorChristophe Leroy <[email protected]>
Mon, 8 Feb 2021 15:10:32 +0000 (15:10 +0000)
committerMichael Ellerman <[email protected]>
Thu, 11 Feb 2021 12:35:11 +0000 (23:35 +1100)
commitfbcee2ebe8edbb6a93316f0a189ae7fcfaa7094f
treeba1d5090e231ad571ce2c120059f08613e2c6b69
parentc01b916658150e98f00a4981750c37a3224c8735
powerpc/32: Always save non volatile GPRs at syscall entry

In preparation for porting syscall entry/exit to C, inconditionally
save non volatile general purpose registers.

Commit 965dd3ad3076 ("powerpc/64/syscall: Remove non-volatile GPR save
optimisation") provides detailed explanation.

This increases the number of cycles by 24 cycles on 8xx with
null_syscall benchmark (280 => 304 cycles)

Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/21c08162b83655195fe9ead78ff2cfd28508d023.1612796617.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/head_32.h
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/syscalls/syscall.tbl
This page took 0.043614 seconds and 4 git commands to generate.