]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Gracefully fail on LPI exhaustion
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 29 Jan 2019 15:19:23 +0000 (15:19 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 29 Jan 2019 15:48:51 +0000 (15:48 +0000)
commit18b260c6af19f03e72fc80f036b0495995e6dfcf
treecb491f1069fca17cfd03bdf93b8f34d7eda8c1ad
parent1e25fef98df1410687533174608ca47ddfbca6dd
irqchip/gic-v3-its: Gracefully fail on LPI exhaustion

In the unlikely event that we cannot find any available LPI in the
system, we should gracefully return an error instead of carrying
on with no LPI allocated at all.

Fixes: 38b695aed95e ("irqchip/gic-v3-its: Drop chunk allocation compatibility")
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c