diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2011-01-05 13:24:32 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-01-24 16:24:28 +0100 |
commit | ec07a053597bdab51cbd23619f9f9f392712508a (patch) | |
tree | f6d2308eb2481481c430f961e98fa68b5b0c1240 /drivers/platform/x86/panasonic-laptop.c | |
parent | [SCSI] mpt2sas: Correct resizing calculation for max_queue_depth (diff) | |
download | linux-ec07a053597bdab51cbd23619f9f9f392712508a.tar.xz linux-ec07a053597bdab51cbd23619f9f9f392712508a.zip |
[SCSI] mpt2sas: Fix the race between broadcast asyn event and scsi command completion
False timeout after hard resets, there were two issues which leads
to timeout.
(1) Panic because of invalid memory access in the broadcast asyn
event processing routine due to a race between accessing the scsi command
pointer from broadcast asyn event processing thread and completing
the same scsi command from the interrupt context.
(2) Broadcast asyn event notifcations are not handled due to events
ignored while the broadcast asyn event is activity being processed
from the event process kernel thread.
In addition, changed the ABRT_TASK_SET to ABORT_TASK in the
broadcast async event processing routine. This is less disruptive to other
request that generate Broadcast Asyn Primitives besides target
reset. e.g clear reservations, microcode download,and mode select.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/platform/x86/panasonic-laptop.c')
0 files changed, 0 insertions, 0 deletions