ipr: Reset in task context
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 26 Mar 2015 16:23:52 +0000 (11:23 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 9 Apr 2015 20:43:14 +0000 (13:43 -0700)
commit2796ca5e51737ed0be8ebb6cf73fd56af05da0a7
tree6b6ae274bf930a91025b0b1e18200b8a73ecf310
parent4fdd7c7aabbec3aa9e5dc41c129bc9f6aed7e615
ipr: Reset in task context

The pci_set_pcie_reset_state has changed semantics to not be callable
from interrupt context, so change ipr's usage of the API to comply with
this change by ensuring this occurs from a workqueue.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Reviewed-by: Daniel Kreling <kreling@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h