fnic: IOMMU Fault occurs when IO and abort IO is out of order
authorAnil Chintalapati (achintal) <achintal@cisco.com>
Tue, 23 Dec 2014 19:40:00 +0000 (19:40 +0000)
committerChristoph Hellwig <hch@lst.de>
Tue, 30 Dec 2014 12:31:45 +0000 (13:31 +0100)
commitefc7a288382cffc76d6cdb9678f643db37991906
tree36dba1c44922fb3f9f418b8d9928db6ba539aa1b
parente461338b6cd4074e39a0d5fdd1dc5582fbca1520
fnic: IOMMU Fault occurs when IO and abort IO is out of order

When I/O is aborted by mid-layer, fnic FW will complete the I/O before
completing the abort task. In some cases abort request is completed before
the I/O, which could lead to inconsistent driver and firmware states.
In this case firmware reset would clear the inconsistent state.

Signed-off-by: Anil Chintalapati <achintal@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Hiral Shah <hishah@cisco.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_scsi.c