Message ID | 1606905417-183214-1-git-send-email-john.garry@huawei.com |
---|---|
Headers | show |
Series | Support managed interrupts for platform devices | expand |
On Wed, 2 Dec 2020 18:36:52 +0800, John Garry wrote: > So far, managed interrupts are only used for PCI MSIs. This series adds > platform device support for managed interrupts. Initially this topic was > discussed at [0]. > > The method to enable managed interrupts is to allocate a group of IRQs for > the device, and then switch the interrupts to managed - this is done > through new function irq_update_affinity_desc(). > > [...] Applied to irq/irqchip-next, thanks! [1/5] genirq/affinity: Add irq_update_affinity_desc() commit: 1d3aec89286254487df7641c30f1b14ad1d127a5 [2/5] resource: Add irqresource_disabled() commit: 9806731db684a475ade1e95d166089b9edbd9da3 [3/5] ACPI: Drop acpi_dev_irqresource_disabled() commit: 1c3f69b4543af0aad514c127298e5ea40392575d [4/5] Driver core: platform: Add devm_platform_get_irqs_affinity() commit: e15f2fa959f2cce8a05e8e3a596e75d068cd42c5 Please route patch 5 via the SCSI tree when possible. Cheers, M.
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@huawei.com> > --- > 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(-) >
John, > 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. I'll do a postmerge branch for a few things, including your patch and the megaraid patch.
On 11/12/2020 17:20, Martin K. Petersen wrote: >> 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. > I'll do a postmerge branch for a few things, including your patch and > the megaraid patch. Great, thanks. By a strange coincidence both those patches are doing the same thing. John