target/arm: set ID_AA64ISAR0.TLB to 2 for max AARCH64 CPU type
Indicate support for FEAT_TLBIOS and FEAT_TLBIRANGE by setting ID_AA64ISAR0.TLB to 2 for the max AARCH64 CPU type. Signed-off-by: Rebecca Cran <rebecca@nuviainc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210512182337.18563-4-rebecca@nuviainc.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
7113d61850
commit
7b9171cc83
@ -651,6 +651,7 @@ static void aarch64_max_initfn(Object *obj)
|
|||||||
t = FIELD_DP64(t, ID_AA64ISAR0, DP, 1);
|
t = FIELD_DP64(t, ID_AA64ISAR0, DP, 1);
|
||||||
t = FIELD_DP64(t, ID_AA64ISAR0, FHM, 1);
|
t = FIELD_DP64(t, ID_AA64ISAR0, FHM, 1);
|
||||||
t = FIELD_DP64(t, ID_AA64ISAR0, TS, 2); /* v8.5-CondM */
|
t = FIELD_DP64(t, ID_AA64ISAR0, TS, 2); /* v8.5-CondM */
|
||||||
|
t = FIELD_DP64(t, ID_AA64ISAR0, TLB, 2); /* FEAT_TLBIRANGE */
|
||||||
t = FIELD_DP64(t, ID_AA64ISAR0, RNDR, 1);
|
t = FIELD_DP64(t, ID_AA64ISAR0, RNDR, 1);
|
||||||
cpu->isar.id_aa64isar0 = t;
|
cpu->isar.id_aa64isar0 = t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user