projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7113d61
)
target/arm: set ID_AA64ISAR0.TLB to 2 for max AARCH64 CPU type
author
Rebecca Cran
<rebecca@nuviainc.com>
Wed, 12 May 2021 18:23:37 +0000
(12:23 -0600)
committer
Peter Maydell
<peter.maydell@linaro.org>
Tue, 25 May 2021 15:01:43 +0000
(16:01 +0100)
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>
target/arm/cpu64.c
patch
|
blob
|
history
diff --git
a/target/arm/cpu64.c
b/target/arm/cpu64.c
index f0a9e968c9c1c278f62a7dad27e6d87ad49a3474..f42803ecaf1d4e9fab965f30646410850cdd366c 100644
(file)
--- a/
target/arm/cpu64.c
+++ b/
target/arm/cpu64.c
@@
-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;