KVM: PPC: Book3S HV P9: Move cede logic out of XIVE escalation rearming
authorNicholas Piggin <npiggin@gmail.com>
Thu, 3 Mar 2022 05:33:12 +0000 (15:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 May 2022 11:34:33 +0000 (21:34 +1000)
commitad5ace91c55e7bd16813617f67bcb7619d51a295
tree6ef784a62536d89b033da19995ebc30cd4a7a01e
parent026728dc5d41f830e8194fe01e432dd4eb9b3d9a
KVM: PPC: Book3S HV P9: Move cede logic out of XIVE escalation rearming

Move the cede abort logic out of xive escalation rearming and into
the caller to prepare for handling a similar case with nested guest
entry.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220303053315.1056880-4-npiggin@gmail.com
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_xive.c