On 02/12/2020 10:36, John Garry wrote:
As a performance enhancement, make the completion queue interrupts managed.
In addition, in commit bf0beec0607d ("blk-mq: drain I/O when all CPUs in a
hctx are offline"), CPU hotplug for MQ devices using managed interrupts
is made safe. So expose HW queues to blk-mq to take advantage of this.
Flag Scsi_host.host_tagset is also set to ensure that the HBA is not sent
more commands than it can handle. However the driver still does not use
request tag for IPTT as there are many HW bugs means that special rules
apply for IPTT allocation.
Hi Martin, James,
Is there some way in this patch can be merged for 5.11 via the SCSI
tree? It has a dependency on the earlier patches in the series, now
picked up via irqchip tree. I've seen multiple rounds of SCSI pull
requests before, but not sure when we have that or if the tree is
rebased for those.
Thanks,
John
Signed-off-by: John Garry <john.garry@xxxxxxxxxx>
---
drivers/scsi/hisi_sas/hisi_sas.h | 4 ++
drivers/scsi/hisi_sas/hisi_sas_main.c | 11 +++++
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 66 +++++++++++++++++++++-----
3 files changed, 68 insertions(+), 13 deletions(-)