Nicholas Piggin 5236756d04 KVM: PPC: Book3S HV P9: Use Linux SPR save/restore to manage some host SPRs
Linux implements SPR save/restore including storage space for registers
in the task struct for process context switching. Make use of this
similarly to the way we make use of the context switching fp/vec save
restore.

This improves code reuse, allows some stack space to be saved, and helps
with avoiding VRSAVE updates if they are not required.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-39-npiggin@gmail.com
2021-11-24 21:09:01 +11:00
..
2021-04-30 12:22:28 -07:00
2021-11-06 14:36:12 -07:00
2021-09-03 11:22:50 -07:00
2020-12-04 01:01:09 +11:00
2021-09-03 11:22:50 -07:00
2021-04-30 11:20:40 -07:00
2021-09-03 15:33:47 -07:00
2021-09-03 15:33:47 -07:00
2021-08-19 09:02:55 +09:00
2021-02-09 00:10:50 +11:00
2021-11-16 21:24:16 +11:00
2021-11-02 22:22:13 -07:00
2021-08-19 09:02:55 +09:00