aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.c')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drivers/scsi/megaraid/megaraid_sas.c
index fc7ac158476c..d7b99843ca3e 100644
--- a/drivers/scsi/megaraid/megaraid_sas.c
+++ b/drivers/scsi/megaraid/megaraid_sas.c
@@ -198,6 +198,9 @@ megasas_clear_intr_xscale(struct megasas_register_set __iomem * regs)
198 */ 198 */
199 writel(status, &regs->outbound_intr_status); 199 writel(status, &regs->outbound_intr_status);
200 200
201 /* Dummy readl to force pci flush */
202 readl(&regs->outbound_intr_status);
203
201 return 0; 204 return 0;
202} 205}
203 206
@@ -293,6 +296,9 @@ megasas_clear_intr_ppc(struct megasas_register_set __iomem * regs)
293 */ 296 */
294 writel(status, &regs->outbound_doorbell_clear); 297 writel(status, &regs->outbound_doorbell_clear);
295 298
299 /* Dummy readl to force pci flush */
300 readl(&regs->outbound_doorbell_clear);
301
296 return 0; 302 return 0;
297} 303}
298/** 304/**