KVM: PPC: Book3S HV: Use the new IRQ chip to detect passthrough interrupts
authorCédric Le Goater <clg@kaod.org>
Thu, 1 Jul 2021 13:27:31 +0000 (15:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:14:58 +0000 (23:14 +1000)
commitba418a0278265ad65f2f9544e743b7dbff3b994b
tree49d8c99a32913a8489f3695e6bd9076ae5d0256c
parent0fcfe2247e75070361af2b6845030cada92cdbf8
KVM: PPC: Book3S HV: Use the new IRQ chip to detect passthrough interrupts

Passthrough PCI MSI interrupts are detected in KVM with a check on a
specific EOI handler (P8) or on XIVE (P9). We can now check the
PCI-MSI IRQ chip which is cleaner.

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-14-clg@kaod.org
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/platforms/powernv/pci-ioda.c