diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2018-04-15 18:53:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-16 11:26:14 -0400 |
commit | f23e0643cd0b53e68e283b6f26194d56c28a2eb1 (patch) | |
tree | d554a04ec1e70dda2e9c58eac8d5a7239e93f56e /drivers/extcon | |
parent | bffd168c3fc5cc7d2bad4c668fa90e7a9010db4b (diff) |
ibmvnic: Clear pending interrupt after device reset
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@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions