aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-02-24 23:56:21 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-02-28 12:46:53 -0500
commite1419191d8d38098fb6ef29e94aadd15dabff3da (patch)
tree0450fe08f12f228cb1d02acb83c276d656e6f5dd /drivers/scsi
parent0a77066acc78b4048b0afc9d70b7e91c06e63356 (diff)
[SCSI] megaraid_sas: Call tasklet_schedule for MSI-X
The following patch for megaraid_sas calls tasklet_schedule() even if outbound_intr_status == 0 for MFI based boards in MSI-X mode. Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 78c263337b0b..050ec1694e68 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -2503,7 +2503,9 @@ megasas_deplete_reply_queue(struct megasas_instance *instance,
2503 if ((mfiStatus = instance->instancet->clear_intr( 2503 if ((mfiStatus = instance->instancet->clear_intr(
2504 instance->reg_set) 2504 instance->reg_set)
2505 ) == 0) { 2505 ) == 0) {
2506 return IRQ_NONE; 2506 /* Hardware may not set outbound_intr_status in MSI-X mode */
2507 if (!instance->msi_flag)
2508 return IRQ_NONE;
2507 } 2509 }
2508 2510
2509 instance->mfiStatus = mfiStatus; 2511 instance->mfiStatus = mfiStatus;