[PATCH] powerpc: Don't handle ALTIVEC/SPE in ASM in _switch(). Do it in C.
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Jun 18 13:51:29 AEST 2021
On Fri, 14 May 2021 13:14:53 +0000 (UTC), Christophe Leroy wrote:
> _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().
Applied to powerpc/next.
[1/1] powerpc: Don't handle ALTIVEC/SPE in ASM in _switch(). Do it in C.
https://git.kernel.org/powerpc/c/359c2ca74d2fede5c571fbf3f5ee16ba1ad98259
cheers
More information about the Linuxppc-dev
mailing list