diff options
author | Ziqi Chen <quic_ziqichen@quicinc.com> | 2023-07-11 09:59:08 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-07-23 21:21:26 +0200 |
commit | 8f2b78652d0552e157a0b9cd354f2e5c20ba98ca (patch) | |
tree | 3226e0cc3a5ae0a4c45082866397b96193ccac7b /drivers/ufs/host/ufs-qcom.h | |
parent | scsi: hisi_sas: Delete unused lock in hisi_sas_port_notify_formed() (diff) | |
download | linux-8f2b78652d0552e157a0b9cd354f2e5c20ba98ca.tar.xz linux-8f2b78652d0552e157a0b9cd354f2e5c20ba98ca.zip |
scsi: ufs: qcom: Get queue ID from MSI index in ESI handler
platform_msi_domain_alloc_irqs() does not always get consecutive IRQ
numbers, hence queue IDs calculated out from IRQ numbers may be incorrect
if we assume IRQ numbers are consecutive. Fix this by passing msi_desc to
ESI handler to use msi_desc->msi_index as queue ID.
Co-developed-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
Link: https://lore.kernel.org/r/1689062349-77385-1-git-send-email-quic_ziqichen@quicinc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs/host/ufs-qcom.h')
-rw-r--r-- | drivers/ufs/host/ufs-qcom.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ufs/host/ufs-qcom.h b/drivers/ufs/host/ufs-qcom.h index 6289ad5a42d0..729240367e70 100644 --- a/drivers/ufs/host/ufs-qcom.h +++ b/drivers/ufs/host/ufs-qcom.h @@ -226,7 +226,6 @@ struct ufs_qcom_host { u32 hs_gear; - int esi_base; bool esi_enabled; }; |