]> asedeno.scripts.mit.edu Git - linux.git/commit
irqchip/gic-v3-its: Fix the incorrect BUG_ON in its_init_vpe_domain()
authorShanker Donthineni <shankerd@codeaurora.org>
Sat, 23 Sep 2017 18:50:19 +0000 (13:50 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 13 Oct 2017 15:30:52 +0000 (16:30 +0100)
commitc427a475b6bc9d3304cca04acdec53464f71f24c
treef2f5553d26b36f8890c06f3ba6e1759512a1f78b
parent4a40aedec653bb9e22c01ef4fe0a66278b1a666f
irqchip/gic-v3-its: Fix the incorrect BUG_ON in its_init_vpe_domain()

The driver probe path hits 'BUG_ON(entries != vpe_proxy.dev->nr_ites)'
on systems where it has VLPI capability, doesn't support direct LPI
feature and boot with a single CPU.

Relax the BUG_ON() condition to fix the issue.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c