diff options
author | himanshu.madhani@cavium.com <himanshu.madhani@cavium.com> | 2016-12-12 14:40:05 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-12-14 15:37:58 -0500 |
commit | 77ddb94a4853204dc680121d59221b1be7c2297e (patch) | |
tree | 79b5e9a6b32d7e0dea2618da513fef087792ea40 /drivers/scsi/qla2xxx/qla_mid.c | |
parent | 7e8a9486786d5ede1d2405fab140c6a0d8b2c1fe (diff) |
scsi: qla2xxx: Only allow operational MBX to proceed during RESET.
This patch is allowing only ROM mailbox command which are
necessary to initialize chip after a reset has been issued.
In a target environment, there could be a user space daemon
which can issue statistics and other management mailbox command
which are non-critical. This patch will timeout non critical
mailbox commands immediately rather than waiting for timeout,
if driver detects that chip reset has been issued or chip reset
is in progress.
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mid.c')
0 files changed, 0 insertions, 0 deletions