diff options
author | Rebecca Cran | 2021-02-08 07:57:00 +0100 |
---|---|---|
committer | Peter Maydell | 2021-02-11 12:50:14 +0100 |
commit | 5385320c2b3183f2e18dbc55c23ecba9272500c2 (patch) | |
tree | 1873985688f0a99d6c3023819f9322eff4272c56 /target/arm | |
parent | target/arm: Set ID_AA64PFR0.DIT and ID_PFR0.DIT to 1 for "max" AA64 CPU (diff) | |
download | qemu-5385320c2b3183f2e18dbc55c23ecba9272500c2.tar.gz qemu-5385320c2b3183f2e18dbc55c23ecba9272500c2.tar.xz qemu-5385320c2b3183f2e18dbc55c23ecba9272500c2.zip |
target/arm: Set ID_PFR0.DIT to 1 for "max" 32-bit CPU
Enable FEAT_DIT for the "max" 32-bit CPU.
Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210208065700.19454-5-rebecca@nuviainc.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm')
-rw-r--r-- | target/arm/cpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 8ddb2556f8..5cf6c056c5 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -2202,6 +2202,10 @@ static void arm_max_initfn(Object *obj) t = FIELD_DP32(t, ID_MMFR4, CNP, 1); /* TTCNP */ t = FIELD_DP32(t, ID_MMFR4, XNX, 1); /* TTS2UXN */ cpu->isar.id_mmfr4 = t; + + t = cpu->isar.id_pfr0; + t = FIELD_DP32(t, ID_PFR0, DIT, 1); + cpu->isar.id_pfr0 = t; } #endif } |