[PATCH] ibmvnic: Clear pending interrupt after device reset

David Miller davem at davemloft.net
Mon Apr 16 10:55:12 AEST 2018


From: Thomas Falcon <tlfalcon at linux.vnet.ibm.com>
Date: Sun, 15 Apr 2018 18:53:36 -0500

> Due to a firmware bug, the hypervisor can send an interrupt to a
> transmit or receive queue just prior to a partition migration, not
> allowing the device enough time to handle it and send an EOI. When
> the partition migrates, the interrupt is lost but an "EOI-pending"
> flag for the interrupt line is still set in firmware. No further
> interrupts will be sent until that flag is cleared, effectively
> freezing that queue. To workaround this, the driver will disable the
> hardware interrupt and send an H_EOI signal prior to re-enabling it.
> This will flush the pending EOI and allow the driver to continue
> operation.
> 
> Signed-off-by: Thomas Falcon <tlfalcon at linux.vnet.ibm.com>

Hey Thomas, I see two copies of this patch posted.  Any special
reason for that?

Thanks.


More information about the Linuxppc-dev mailing list