Re: [PATCH] powerpc/xive: Discard disabled interrupts in get_irqchip_state()

2021-10-17 Thread Michael Ellerman
On Mon, 11 Oct 2021 09:02:03 +0200, Cédric Le Goater wrote: > When an interrupt is passed through, the KVM XIVE device calls the > set_vcpu_affinity() handler which raises the P bit to mask the > interrupt and to catch any in-flight interrupts while routing the > interrupt to the guest. > > On the

Re: [PATCH] powerpc/xive: Discard disabled interrupts in get_irqchip_state()

2021-10-11 Thread seeteena
Tested-by: seeteena I have used a KVM guest with a passthrough ethernet adapter and the lspci output to identify the adapter.

Re: [PATCH] powerpc/xive: Discard disabled interrupts in get_irqchip_state()

2021-10-11 Thread seeteena
From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: Subject: [PATCH] powerpc/xive: Discard disabled interrupts in get_irqchip_state() Date: Mon, 11 Oct 2021 09:02:03 +0200 Message-ID: <20211011070203.99726-1-...@kaod.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text

[PATCH] powerpc/xive: Discard disabled interrupts in get_irqchip_state()

2021-10-11 Thread Cédric Le Goater
When an interrupt is passed through, the KVM XIVE device calls the set_vcpu_affinity() handler which raises the P bit to mask the interrupt and to catch any in-flight interrupts while routing the interrupt to the guest. On the guest side, drivers (like some Intels) can request at probe time some M