]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: XICS: Fix mapping of passthrough interrupts
authorCédric Le Goater <clg@kaod.org>
Thu, 1 Jul 2021 13:27:48 +0000 (15:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:15:01 +0000 (23:15 +1000)
commitccc845c51e9b73ccf54918ced11bea4830f87150
tree4f85ddcad0c7cf052b6d0d53b381411272bbd6e7
parent1bd844ebabae7fb8ce13810db9fa6dbd8cfcb452
KVM: PPC: Book3S HV: XICS: Fix mapping of passthrough interrupts

PCI MSIs now live in an MSI domain but the underlying calls, which
will EOI the interrupt in real mode, need an HW IRQ number mapped in
the XICS IRQ domain. Grab it there.

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-31-clg@kaod.org
arch/powerpc/kvm/book3s_hv.c