diff options
author | Ziqi Chen <quic_ziqichen@quicinc.com> | 2023-07-11 10:59:08 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-07-23 22:21:26 +0300 |
commit | 8f2b78652d0552e157a0b9cd354f2e5c20ba98ca (patch) | |
tree | 3226e0cc3a5ae0a4c45082866397b96193ccac7b /security | |
parent | 29f45ed18aa9b75b99126ea675dd29757b621073 (diff) | |
download | linux-8f2b78652d0552e157a0b9cd354f2e5c20ba98ca.tar.xz |
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 'security')
0 files changed, 0 insertions, 0 deletions