[PATCH] net/ibmvnic: Fix EOI when running in XIVE mode.

David Miller davem at davemloft.net
Mon Oct 14 05:19:21 AEDT 2019


From: Cédric Le Goater <clg at kaod.org>
Date: Fri, 11 Oct 2019 07:52:54 +0200

> pSeries machines on POWER9 processors can run with the XICS (legacy)
> interrupt mode or with the XIVE exploitation interrupt mode. These
> interrupt contollers have different interfaces for interrupt
> management : XICS uses hcalls and XIVE loads and stores on a page.
> H_EOI being a XICS interface the enable_scrq_irq() routine can fail
> when the machine runs in XIVE mode.
> 
> Fix that by calling the EOI handler of the interrupt chip.
> 
> Fixes: f23e0643cd0b ("ibmvnic: Clear pending interrupt after device reset")
> Signed-off-by: Cédric Le Goater <clg at kaod.org>

Applied and queued up for -stable, thanks.


More information about the Linuxppc-dev mailing list