Skip to content

Commit

Permalink
target/arm: set ID_AA64ISAR0.TLB to 2 for max AARCH64 CPU type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rebecca Cran authored and pm215 committed May 25, 2021
1 parent 7113d61 commit 7b9171c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target/arm/cpu64.c
Expand Up @@ -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, FHM, 1);
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);
cpu->isar.id_aa64isar0 = t;

Expand Down

0 comments on commit 7b9171c

Please sign in to comment.