[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/11] target/arm: Enable BTI for -cpu max
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 09/11] target/arm: Enable BTI for -cpu max |
Date: |
Thu, 10 Jan 2019 23:17:34 +1100 |
Signed-off-by: Richard Henderson <address@hidden>
---
target/arm/cpu64.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
index 713d2d5579..64fbe75eca 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -372,6 +372,10 @@ static void aarch64_max_initfn(Object *obj)
t = FIELD_DP64(t, ID_AA64PFR0, ADVSIMD, 1);
cpu->isar.id_aa64pfr0 = t;
+ t = cpu->isar.id_aa64pfr1;
+ t = FIELD_DP64(t, ID_AA64PFR1, BT, 1);
+ cpu->isar.id_aa64pfr1 = t;
+
t = cpu->isar.id_aa64mmfr1;
t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */
t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1);
--
2.17.2
- Re: [Qemu-devel] [PATCH 06/11] target/arm: Reset btype for direct branches and syscalls, (continued)
[Qemu-devel] [PATCH 07/11] target/arm: Set btype for indirect branches, Richard Henderson, 2019/01/10
[Qemu-devel] [PATCH 08/11] target/arm: Add guarded_pages cpu property for user-only, Richard Henderson, 2019/01/10
[Qemu-devel] [PATCH 09/11] target/arm: Enable BTI for -cpu max,
Richard Henderson <=
[Qemu-devel] [PATCH 10/11] linux-user/aarch64: Reset btype for signal handlers, Richard Henderson, 2019/01/10
[Qemu-devel] [PATCH 11/11] tests/tcg/aarch64: Add bti smoke test, Richard Henderson, 2019/01/10
Re: [Qemu-devel] [PATCH 00/11] target/arm: Implement ARMv8.5-BTI, no-reply, 2019/01/31