ARM: vGICv3: always use architected redist stride
authorAndre Przywara <andre.przywara@linaro.org>
Fri, 9 Mar 2018 15:11:19 +0000 (15:11 +0000)
committerJulien Grall <julien.grall@arm.com>
Mon, 12 Mar 2018 11:41:58 +0000 (11:41 +0000)
commitfaae7a7f3a696ef2cbd19cff1c6448e338380798
tree9af9249508e0256eef19e96dfbd93264d5908a2c
parentd99e4f60422416ae4ef1e5feb3c1e9a5861ebb80
ARM: vGICv3: always use architected redist stride

The redistributor-stride property in a GICv3 DT node is only there to
cover broken platforms where this value deviates from the architected one.
Since we emulate the GICv3 distributor even for Dom0, we don't need to
copy the broken behaviour. All the special handling for Dom0s using
GICv3 is just for using the hardware's memory map, which is unaffected
by the redistributor stride - it can never be smaller than the
architected two pages.
Remove the redistributor-stride property from Dom0's DT node and also
remove the code that tried to reuse the hardware value for Dom0's GICv3
emulation.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/gic-v3.c
xen/arch/arm/vgic-v3.c
xen/include/asm-arm/gic_v3_defs.h