]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 01:34:02 +0000 (10:34 +0900)
commit04a7e30aa079cdc2249dbc091060137bb496c4e6
tree8f2116074ee62e655f7873cd50cabd682030dabb
parent63771f4d72eb7ec242795fa6904fb7b48d955136
mpt2sas: move even handling of MPT2SAS_TURN_ON_FAULT_LED into process context

commit 3ace8e052be5293ebb3e00f819effccc64108a38 upstream.

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.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c