xen/arm: GICv3: Only initialize ITS when the distributor supports LPIs.
authorJulien Grall <julien.grall@linaro.org>
Wed, 24 Jan 2018 18:26:16 +0000 (18:26 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 30 Jan 2018 17:56:30 +0000 (09:56 -0800)
commit6fd572826c26f777b72e3b5f64a137dbcfdd6361
treee08806e24af8df84b91224c874385bcda9d548f0
parenta20013e8d90eed74f75a30603633b9a236bfa62f
xen/arm: GICv3: Only initialize ITS when the distributor supports LPIs.

There are firmware tables out describing the ITS but does not support
LPIs. This will result to a data abort when trying to initialize ITS.

While this can be consider a bug in the Device-Tree, same configuration
boots on Linux. So gate the ITS initialization with the support of LPIs
in the distributor.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v3.c