On Sun, 23 Jan 2022 21:47:25 +1000, Nicholas Piggin wrote: > It is better to get all loads for the register values in flight > before starting to switch LPID, PID, and LPCR because those > mtSPRs are expensive and serialising. > > This also just tidies up the code for a potential future change > to the context switching sequence. > > [...]
Applied to powerpc/topic/ppc-kvm. [1/1] KVM: PPC: Book3S HV P9: Optimise loads around context switch https://git.kernel.org/powerpc/c/361234d7a1c9a5290d33e35d49821b7a32a32854 cheers