]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3: Add GICv4.1 VPEID size discovery
authorMarc Zyngier <maz@kernel.org>
Tue, 24 Dec 2019 11:10:25 +0000 (11:10 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 22 Jan 2020 14:22:19 +0000 (14:22 +0000)
commit9f91bcca397187444fb46a2ed06e75b1dd1da56a
tree73b60a407ad6f96659f25010ec542718f1e8f268
parentc29200579d4974149b9781dbe58dad8ef5772fcd
irqchip/gic-v3: Add GICv4.1 VPEID size discovery

While GICv4.0 mandates 16 bit worth of VPEIDs, GICv4.1 allows smaller
implementations to be built. Add the required glue to dynamically
compute the limit.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20191224111055.11836-3-maz@kernel.org
drivers/irqchip/irq-gic-v3-its.c
drivers/irqchip/irq-gic-v3.c
include/linux/irqchip/arm-gic-v3.h