diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-05-14 13:14:53 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-16 00:16:47 +1000 |
| commit | 359c2ca74d2fede5c571fbf3f5ee16ba1ad98259 (patch) | |
| tree | aa1e00c52ff5d2dc679fe35f1afce5e2c926644e /arch/powerpc/include/asm/code-patching.h | |
| parent | powerpc: Force inlining of csum_add() (diff) | |
| download | linux-359c2ca74d2fede5c571fbf3f5ee16ba1ad98259.tar.gz linux-359c2ca74d2fede5c571fbf3f5ee16ba1ad98259.zip | |
powerpc: Don't handle ALTIVEC/SPE in ASM in _switch(). Do it in C.
_switch() saves and restores ALTIVEC and SPE status.
For altivec this is redundant with what __switch_to() does with
save_sprs() and restore_sprs() and giveup_all() before
calling _switch().
Add support for SPI in save_sprs() and restore_sprs() and
remove things from _switch().
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/8ab21fd93d6e0047aa71e6509e5e312f14b2991b.1620998075.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/code-patching.h')
0 files changed, 0 insertions, 0 deletions
