xen/arm: use correct device tree root node name
authorWill Abele <will.abele@starlab.io>
Tue, 9 Jul 2019 13:22:23 +0000 (13:22 +0000)
committerJulien Grall <julien.grall@arm.com>
Tue, 9 Jul 2019 14:16:43 +0000 (15:16 +0100)
commit8706d38479218dcf549a94516918c3e3b30a7bb0
treea064fa3dac2895f4a27469ec1046bc90ad898843
parent6d6474db41fb67e868cb5402b92ee5cc5cde3275
xen/arm: use correct device tree root node name

The root node of a device tree should not have a node name. This is
specified in section 2.2.1 of version 0.2 of the device tree
specification, available from devicetree.org.

Linux Kernel versions prior to 4.15 misinterpret flattened device trees
with a "/" as the name of the root node as an FDT version older than 16.
Linux then fails to parse the FDT.

Signed-off-by: Will Abele <will.abele@starlab.io>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/acpi/domain_build.c
xen/arch/arm/domain_build.c