mbox series

[v1,0/2] irqchip/gic-v3-its: don't set bitmap for LPI which user didn't allocate

Message ID 1612781926-56206-1-git-send-email-luojiaxing@huawei.com (mailing list archive)
Headers show
Series irqchip/gic-v3-its: don't set bitmap for LPI which user didn't allocate | expand

Message

luojiaxing Feb. 8, 2021, 10:58 a.m. UTC
When the number of online CPUs is less than 16, we found that it will fail
to allocate 32 MSI interrupts (including 16 affinity interrupts) after the
hisi_sas module is unloaded and then reloaded.

After analysis, it is found that a bug exists when the ITS releases
interrupt resources, and this patch set contains a bugfix patch and a patch
for appending debugging information.

Luo Jiaxing (2):
  irqchip/gic-v3-its: don't set bitmap for LPI which user didn't
    allocate
  genirq/msi: add an error print when __irq_domain_alloc_irqs() failed

 drivers/irqchip/irq-gic-v3-its.c | 4 ++++
 kernel/irq/msi.c                 | 1 +
 2 files changed, 5 insertions(+)

Comments

John Garry Feb. 8, 2021, 11:14 a.m. UTC | #1
On 08/02/2021 10:58, Luo Jiaxing wrote:
> When the number of online CPUs is less than 16, we found that it will fail
> to allocate 32 MSI interrupts (including 16 affinity interrupts) after the
> hisi_sas module is unloaded and then reloaded.
> 
> After analysis, it is found that a bug exists when the ITS releases
> interrupt resources, and this patch set contains a bugfix patch and a patch
> for appending debugging information.

Please note that this issue has already been reported:
https://lore.kernel.org/lkml/fd88ce05-8aee-5b1f-5ab6-be88fa53d3aa@huawei.com/

> 
> Luo Jiaxing (2):
>    irqchip/gic-v3-its: don't set bitmap for LPI which user didn't
>      allocate
>    genirq/msi: add an error print when __irq_domain_alloc_irqs() failed
> 
>   drivers/irqchip/irq-gic-v3-its.c | 4 ++++
>   kernel/irq/msi.c                 | 1 +
>   2 files changed, 5 insertions(+)
>