KVM: PPC: Book3S HV: XIVE: Change interface of passthrough interrupt routines
authorCédric Le Goater <clg@kaod.org>
Thu, 1 Jul 2021 13:27:32 +0000 (15:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:14:59 +0000 (23:14 +1000)
commite5e78b15113a73d0294141d9796969fa7b10fa3c
tree477d4f6b9fb3637290c9174f19a2d7a117c09947
parentba418a0278265ad65f2f9544e743b7dbff3b994b
KVM: PPC: Book3S HV: XIVE: Change interface of passthrough interrupt routines

The routine kvmppc_set_passthru_irq() calls kvmppc_xive_set_mapped()
and kvmppc_xive_clr_mapped() with an IRQ descriptor. Use directly the
host IRQ number to remove a useless conversion.

Add some debug.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701132750.1475580-15-clg@kaod.org
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_xive.c