]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Reduce minimum LPI allocation to 1 for PCI devices
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 May 2018 15:21:43 +0000 (16:21 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Jul 2018 09:01:24 +0000 (10:01 +0100)
commit4da90a49c16cb268b32881b09343cd0deb9253f5
tree48bcc72a292e8e87a2b7465ac7e6b35a8800c875
parent4f9f9412ab60c65bf1bbc140befba1ea4701198a
irqchip/gic-v3-its: Reduce minimum LPI allocation to 1 for PCI devices

Allocating a minimum of 32 LPIs per PCI device, let's reduce it to
be just 1, as most devices do not need that many interrupts.

We still have to special-case DevID 0, as there is plenty of broken
HW around where the PCI RID is not presented as a DevID to the ITS,
and all the devices are presented as DevID 0. In this case, we keep
the 32 minimal allocation.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its-pci-msi.c