hw/arm/virt: Add board property to enable EL2
commitf29cacfb5fc0a6e93efc3f6d2900d82d625f143e
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:11 +0000 (20 11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:11 +0000 (20 11:15 +0000)
tree934dda0e928b521c4086dc62ece5537d0d34ce99
parentc25bd18a04c8bd0f19556d719864b7b08528222d
hw/arm/virt: Add board property to enable EL2

Add a board level property to the virt board which will
enable EL2 on the CPU if the user asks for it. The
default is not to provide EL2. If EL2 is enabled then
we will use SMC as our PSCI conduit, and report the
virtualization support in the GICv3 device tree node
and the ACPI tables.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1483977924-14522-19-git-send-email-peter.maydell@linaro.org
hw/arm/virt-acpi-build.c
hw/arm/virt.c
include/hw/arm/virt.h