Re: [PATCH AUTOSEL 5.14 38/99] KVM: PPC: Book3S HV: XICS: Fix mapping of passthrough interrupts

From: Sasha Levin
Date: Sat Sep 11 2021 - 10:35:53 EST


On Fri, Sep 10, 2021 at 07:48:18AM +0200, Cédric Le Goater wrote:
On 9/10/21 2:14 AM, Sasha Levin wrote:
From: Cédric Le Goater <clg@xxxxxxxx>

[ Upstream commit 1753081f2d445f9157550692fcc4221cd3ff0958 ]

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@xxxxxxxx>
Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20210701132750.1475580-31-clg@xxxxxxxx
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>


Why are we backporting this patch in stable trees ?

It should be fine but to compile, we need a partial backport of commit
51be9e51a800 ("KVM: PPC: Book3S HV: XIVE: Fix mapping of passthrough
interrupts") which exports irq_get_default_host().

Or, I can drop it if it makes no sense?

--
Thanks,
Sasha