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)
committerSteve Conklin <sconklin@canonical.com>
Fri, 15 Jul 2011 17:20:59 +0000 (12:20 -0500)
commitf21d2675922c3aeabdc41809f237675e3650a29f
treedf4640551dc2e7b30d903eb298b501f66b5f97bc
parent2230e66db6e002c50b4298a1f5b64be6da9716f3
mpt2sas: move even handling of MPT2SAS_TURN_ON_FAULT_LED into process context

BugLink: http://bugs.launchpad.net/bugs/793702

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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c