]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/sbsa-ref: add "reg" property to DT cpu nodes
authorLeif Lindholm <leif@nuviainc.com>
Thu, 27 Aug 2020 12:43:35 +0000 (13:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Sep 2020 12:22:07 +0000 (13:22 +0100)
commit999f6ebde5d3ee30b03270bc05095bed737b7dab
treef639297e12ac058e70bcf29c1d66315082533d32
parent5f07817eb94542e39a419baafa3026b15e8d33f7
hw/arm/sbsa-ref: add "reg" property to DT cpu nodes

The sbsa-ref platform uses a minimal device tree to pass amount of memory
as well as number of cpus to the firmware. However, when dumping that
minimal dtb (with -M sbsa-virt,dumpdtb=<file>), the resulting blob
generates a warning when decompiled by dtc due to lack of reg property.

Add a simple reg property per cpu, representing a 64-bit MPIDR_EL1.

This also ends up being cleaner than having the firmware calculating its
own IDs for generating APCI.

Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200827124335.30586-1-leif@nuviainc.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/sbsa-ref.c