irqchip/gic-v3: Detect GICv4.1 supporting RVPEID
authorMarc Zyngier <maz@kernel.org>
Tue, 24 Dec 2019 11:10:24 +0000 (11:10 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 22 Jan 2020 14:22:19 +0000 (14:22 +0000)
commitb25319d279b63781b972c4966b4082193e69afac
tree82057199c3ef28140a514429adac51f836e172c4
parent093bf439fee0d40ade7e309c1288b409cdc3b38f
irqchip/gic-v3: Detect GICv4.1 supporting RVPEID

GICv4.1 supports the RVPEID ("Residency per vPE ID"), which allows for
a much efficient way of making virtual CPUs resident (to allow direct
injection of interrupts).

The functionnality needs to be discovered on each and every redistributor
in the system, and disabled if the settings are inconsistent.

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