Skip to content
Snippets Groups Projects
Commit 5385320c authored by Rebecca Cran's avatar Rebecca Cran Committed by Peter Maydell
Browse files

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: default avatarRebecca Cran <rebecca@nuviainc.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-id: 20210208065700.19454-5-rebecca@nuviainc.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 2bf1eff9
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment