提交 ff96f925 编写于 作者: S Shivasharan S 提交者: Martin K. Petersen

scsi: megaraid_sas: Big endian RDPQ mode fix

Fix if RDPQ mode enabled MR FW is deployed on big endian host machine,
driver does not setup reply address correctly.
Signed-off-by: NShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: NKashyap Desai <kashyap.desai@broadcom.com>
Reviewed-by: NHannes Reinecke <hare@suse.com>
Reviewed-by: NTomas Henzl <thenzl@redhat.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 d2d0358b
...@@ -580,7 +580,7 @@ megasas_alloc_rdpq_fusion(struct megasas_instance *instance) ...@@ -580,7 +580,7 @@ megasas_alloc_rdpq_fusion(struct megasas_instance *instance)
} }
fusion->rdpq_virt[i].RDPQBaseAddress = fusion->rdpq_virt[i].RDPQBaseAddress =
fusion->reply_frames_desc_phys[i]; cpu_to_le64(fusion->reply_frames_desc_phys[i]);
reply_desc = fusion->reply_frames_desc[i]; reply_desc = fusion->reply_frames_desc[i];
for (j = 0; j < fusion->reply_q_depth; j++, reply_desc++) for (j = 0; j < fusion->reply_q_depth; j++, reply_desc++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册