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

PCI MSI interrupt numbers are now mapped in a PCI-MSI domain but the
underlying calls handling the passthrough of the interrupt in the
guest need a number in the XIVE IRQ domain.

Use the IRQ data mapped in the XIVE IRQ domain and not the one in the
PCI-MSI domain.

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-16-clg@kaod.org
arch/powerpc/kvm/book3s_xive.c
kernel/irq/irqdomain.c