summaryrefslogtreecommitdiff
path: root/drivers/edac/ppc4xx_edac.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2014-02-06 20:23:01 (GMT)
committerJiri Slaby <jslaby@suse.cz>2014-03-24 08:45:03 (GMT)
commit15c34d32a8d7a3d50c6cc1ea344b196074524d17 (patch)
treece4fdeded8a65e605613668550ce5e366c95c2d1 /drivers/edac/ppc4xx_edac.h
parent1dc74c291a73a6836bdbdcab81012bbafbb63224 (diff)
downloadlinux-fsl-qoriq-15c34d32a8d7a3d50c6cc1ea344b196074524d17.tar.xz
SCSI: isci: fix reset timeout handling
commit ddfadd7736b677de2d4ca2cd5b4b655368c85a7a upstream. Remove an erroneous BUG_ON() in the case of a hard reset timeout. The reset timeout handler puts the port into the "awaiting link-up" state. The timeout causes the device to be disconnected and we need to be in the awaiting link-up state to re-connect the port. The BUG_ON() made the incorrect assumption that resets never timeout and we always complete the reset in the "resetting" state. Testing this patch also uncovered that libata continues to attempt to reset the port long after the driver has torn down the context. Once the driver has committed to abandoning the link it must indicate to libata that recovery ends by returning -ENODEV from ->lldd_I_T_nexus_reset(). Acked-by: Lukasz Dorau <lukasz.dorau@intel.com> Reported-by: David Milburn <dmilburn@redhat.com> Reported-by: Xun Ni <xun.ni@intel.com> Tested-by: Xun Ni <xun.ni@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/edac/ppc4xx_edac.h')
0 files changed, 0 insertions, 0 deletions