tools: ARM: vGICv3: Avoid inserting optional DT properties
authorAndre Przywara <andre.przywara@linaro.org>
Mon, 5 Mar 2018 16:03:19 +0000 (16:03 +0000)
committerJulien Grall <julien.grall@arm.com>
Tue, 6 Mar 2018 11:10:41 +0000 (11:10 +0000)
commit58be9af4f1bbd3de61b9e7db04e88f7e51893760
tree674a35a861ae91758f0cb62ba4a39b51b6634227
parentf0b51c80fd347ccf2a469d2b8bb2a902fa23eeb7
tools: ARM: vGICv3: Avoid inserting optional DT properties

When creating a GICv3 devicetree node, we currently insert the
redistributor-stride and #redistributor-regions properties, with fixed
values which are actually the architected ones. Since those properties are
optional, and in the case of the stride only needed to cover for broken
platforms, we don't need to describe them if they don't differ from the
default values. This will always be the case for our constructed
DomU memory map.
So we drop those properties altogether and provide a clean and architected
GICv3 DT node for DomUs.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_arm.c