KVM: PPC: Book3S HV P9: Move xive vcpu context management into kvmhv_p9_guest_entry
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:31 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:13 +0000 (22:12 +1000)
commit09512c29167bd3792820caf83bcca4d4e5ac2266
treefd0c91776a8390105ed813659a7a65e02b33439e
parent6ffe2c6e6dcefb971e4046f02086c4adadd0b310
KVM: PPC: Book3S HV P9: Move xive vcpu context management into kvmhv_p9_guest_entry

Move the xive management up so the low level register switching can be
pushed further down in a later patch. XIVE MMIO CI operations can run in
higher level code with machine checks, tracing, etc., available.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210528090752.3542186-12-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c