]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV P9: Move SPRG restore to restore_p9_host_os_sprs
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:51:56 +0000 (19:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:08:58 +0000 (21:08 +1100)
commit4b6bf168002633e456e6cdeb779eb9468371be4a
tree1ec3eea1f23b7b05833be0bc215ec13e355abe18
parent71f5517c73f4e62ca97c69295206abb9f2566244
KVM: PPC: Book3S HV P9: Move SPRG restore to restore_p9_host_os_sprs

Move the SPR update into its relevant helper function. This will
help with SPR scheduling improvements in later changes.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-19-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c