2021-02-08 11:11:45

by Luo Jiaxing

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

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(+)

--
2.7.4


2021-02-08 11:33:52

by John Garry

[permalink] [raw]
Subject: Re: [Linuxarm] [PATCH v1 0/2] irqchip/gic-v3-its: don't set bitmap for LPI which user didn't allocate

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/[email protected]/

>
> 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(+)
>