[PATCH v2] KVM: PPC: Book3S HV: Save host FSCR in the P7/8 path

Michael Ellerman patch-notifications at ellerman.id.au
Sun Jun 6 21:34:53 AEST 2021


On Wed, 26 May 2021 22:58:51 +1000, Nicholas Piggin wrote:
> Similar to commit 25edcc50d76c ("KVM: PPC: Book3S HV: Save and restore
> FSCR in the P9 path"), ensure the P7/8 path saves and restores the host
> FSCR. The logic explained in that patch actually applies there to the
> old path well: a context switch can be made before kvmppc_vcpu_run_hv
> restores the host FSCR and returns.
> 
> Now both the p9 and the p7/8 paths now save and restore their FSCR, it
> no longer needs to be restored at the end of kvmppc_vcpu_run_hv

Applied to powerpc/fixes.

[1/1] KVM: PPC: Book3S HV: Save host FSCR in the P7/8 path
      https://git.kernel.org/powerpc/c/1438709e6328925ef496dafd467dbd0353137434

cheers


More information about the Linuxppc-dev mailing list