irqchip/gic-v4.1: Fix programming of GICR_VPROPBASER_4_1_SIZE
authorZenghui Yu <yuzenghui@huawei.com>
Thu, 6 Feb 2020 07:57:06 +0000 (15:57 +0800)
committerMarc Zyngier <maz@kernel.org>
Sat, 8 Feb 2020 10:01:33 +0000 (10:01 +0000)
commite88bd316e5971fe78884ad1f466b9fc576575e5f
tree35c43373fcc365e4045914cd88f9bcfa45a1ae01
parent107945227ac5d4c37911c7841b27c64b489ce9a9
irqchip/gic-v4.1: Fix programming of GICR_VPROPBASER_4_1_SIZE

The Size field of GICv4.1 VPROPBASER register indicates number of
pages minus one and together Page_Size and Size control the vPEID
width. Let's respect this requirement of the architecture.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200206075711.1275-2-yuzenghui@huawei.com
drivers/irqchip/irq-gic-v3-its.c