]> xenbits.xensource.com Git - qemu-xen-unstable.git/commitdiff
hw/arm/boot: Rebuild hflags when modifying CPUState at boot
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 31 Oct 2019 04:08:30 +0000 (05:08 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 1 Nov 2019 20:41:00 +0000 (20:41 +0000)
Rebuild hflags when modifying CPUState at boot.

Fixes: e979972a6a
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20191031040830.18800-2-edgar.iglesias@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/boot.c

index c264864c11d0cbfaf9c1a6b24b6ca12306583571..ef6724960c04cdb122a983278907bd6bdf7931ea 100644 (file)
@@ -786,6 +786,7 @@ static void do_cpu_reset(void *opaque)
                 info->secondary_cpu_reset_hook(cpu, info);
             }
         }
+        arm_rebuild_hflags(env);
     }
 }