OSDN Git Service

scsi: aacraid: Fix controller initialization failure
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Tue, 17 Oct 2017 00:22:31 +0000 (17:22 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Oct 2017 03:17:52 +0000 (23:17 -0400)
commit45348de2c8a7a1e64c5be27b22c9786b4152dd41
tree6cf5a0cbccbb6706cff8d68b71d144a47d24e9b2
parentc99dfd20f295b2b8c46da5185c0889493ba1f291
scsi: aacraid: Fix controller initialization failure

This is a fix to an issue where the driver sends its periodic WELLNESS
command to the controller after the driver shut it down.This causes the
controller to crash. The window where this can happen is small, but it
can be hit at around 4 hours of constant resets.

Cc: <stable@vger.kernel.org>
Fixes: fbd185986eba (aacraid: Fix AIF triggered IOP_RESET)
Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Reviewed-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/comminit.c
drivers/scsi/aacraid/linit.c