OpenCloudOS-Kernel/drivers/scsi/hisi_sas
Xiang Chen 4fefe5bbf5 scsi: hisi_sas: Use pci_irq_get_affinity() for v3 hw as experimental
For auto-control irq affinity mode, choose the dq to deliver IO according
to the current CPU.

Then it decreases the performance regression that fio and CQ interrupts are
processed on different node.

For user control irq affinity mode, keep it as before.

To realize it, also need to distinguish the usage of dq lock and sas_dev
lock.

We mark as experimental due to ongoing discussion on managed MSI IRQ
during hotplug:
https://marc.info/?l=linux-scsi&m=154876335707751&w=2

We're almost at the point where we can expose multiple queues to the upper
layer for SCSI MQ, but we need to sort out the per-HBA tags performance
issue.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-02-08 18:08:22 -05:00
..
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
hisi_sas.h scsi: hisi_sas: Use pci_irq_get_affinity() for v3 hw as experimental 2019-02-08 18:08:22 -05:00
hisi_sas_main.c scsi: hisi_sas: Use pci_irq_get_affinity() for v3 hw as experimental 2019-02-08 18:08:22 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: Issue internal abort on all relevant queues 2019-02-08 18:08:22 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: Use pci_irq_get_affinity() for v3 hw as experimental 2019-02-08 18:08:22 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: Use pci_irq_get_affinity() for v3 hw as experimental 2019-02-08 18:08:22 -05:00