Skip to content

Commit c65bfc8

Browse files
shivasharan-smartinkpetersen
authored andcommitted
scsi: megaraid_sas: Retry reads of outbound_intr_status reg
commit 272652f ("scsi: megaraid_sas: add retry logic in megasas_readl") missed changing readl to megasas_readl in megasas_clear_intr_fusion(). For Aero controllers, reads of outbound_intr_status register needs to be retried. Reported-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 34a2ce8 commit c65bfc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/scsi/megaraid/megaraid_sas_fusion.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ megasas_clear_intr_fusion(struct megasas_instance *instance)
175175
/*
176176
* Check if it is our interrupt
177177
*/
178-
status = readl(&regs->outbound_intr_status);
178+
status = megasas_readl(instance,
179+
&regs->outbound_intr_status);
179180

180181
if (status & 1) {
181182
writel(status, &regs->outbound_intr_status);

0 commit comments

Comments
 (0)