]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt2sas: move even handling of MPT2SAS_TURN_ON_FAULT_LED into process context
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 4 May 2011 11:05:58 +0000 (16:35 +0530)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 24 May 2011 16:33:01 +0000 (12:33 -0400)
commit81e63058a62a8bd4322f6f4a160f3d973c20284c
treed53bbc6d6088e73356c411b06873e1788cfa0da8
parentfc76571cfd7c15a76b12951f912a8bcccbe1439a
[SCSI] mpt2sas: move even handling of MPT2SAS_TURN_ON_FAULT_LED into process context

Driver was a sending a SEP request during interrupt context which
required to go to sleep.

The fix is to rearrange the code so a fake event
MPT2SAS_TURN_ON_FAULT_LED is fired from interrupt context, then later
during the kernel worker threads processing, the SEP request is issued
to firmware.

Cc: stable@kernel.org
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c