]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
hw/arm/xilinx_zynq: Enable Security Extensions
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 28 Aug 2024 00:50:19 +0000 (02:50 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Sep 2024 12:12:37 +0000 (13:12 +0100)
The system supports the Security Extensions (core and GIC).  This change is
necessary to run tests which pass on the real hardware.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-id: 20240828005019.57705-1-sebastian.huber@embedded-brains.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/xilinx_zynq.c

index 3c56b9abe1c84e431b47eaed6793a414036a1b5c..37c234f5aba19ca6ac27b0e8c932b72f5a3c9db4 100644 (file)
@@ -219,14 +219,6 @@ static void zynq_init(MachineState *machine)
     for (n = 0; n < smp_cpus; n++) {
         Object *cpuobj = object_new(machine->cpu_type);
 
-        /*
-         * By default A9 CPUs have EL3 enabled.  This board does not currently
-         * support EL3 so the CPU EL3 property is disabled before realization.
-         */
-        if (object_property_find(cpuobj, "has_el3")) {
-            object_property_set_bool(cpuobj, "has_el3", false, &error_fatal);
-        }
-
         object_property_set_int(cpuobj, "midr", ZYNQ_BOARD_MIDR,
                                 &error_fatal);
         object_property_set_int(cpuobj, "reset-cbar", MPCORE_PERIPHBASE,