]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/arm: Fix Cortex-R5F MVFR values
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Jun 2019 15:39:42 +0000 (16:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Jun 2019 14:14:03 +0000 (15:14 +0100)
The Cortex-R5F initfn was not correctly setting up the MVFR
ID register values. Fill these in, since some subsequent patches
will use ID register checks rather than CPU feature bit checks.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/cpu.c

index 4d5d46db7f0c93da3f0f1580f65c49d205b094c9..c8441fc07b74705fb4146a6bca98224ab4a70561 100644 (file)
@@ -1609,6 +1609,8 @@ static void cortex_r5f_initfn(Object *obj)
 
     cortex_r5_initfn(obj);
     set_feature(&cpu->env, ARM_FEATURE_VFP3);
+    cpu->isar.mvfr0 = 0x10110221;
+    cpu->isar.mvfr1 = 0x00000011;
 }
 
 static const ARMCPRegInfo cortexa8_cp_reginfo[] = {