hw/arm/virt-acpi-build: Add GICC ACPI subtable for GICv3
commitf2fbfacec024d1e78c10fc8498f3126557c21ed8
authorShannon Zhao <shannon.zhao@linaro.org>
Tue, 3 Nov 2015 13:49:42 +0000 (3 13:49 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Nov 2015 13:49:42 +0000 (3 13:49 +0000)
tree898f300ae2ba2361cf845a18e94b565de6ecbf9d
parentbc64b96c984abfe84f43562ca7480bb4f2af0613
hw/arm/virt-acpi-build: Add GICC ACPI subtable for GICv3

When booting VM with GICv3, the kernel needs GICC ACPI subtable to
initialize the CPUs, e.g. MPIDR information. This adds GICC ACPI
subtable for GICv3, but set GICC base address only when gic_version == 2
since it donesn't need GICC base address for GICv3.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Message-id: 1446131773-5018-1-git-send-email-shannon.zhao@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt-acpi-build.c