[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 24/26] target/arm: Enable PAuth for user-only -cpu m
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 24/26] target/arm: Enable PAuth for user-only -cpu max |
Date: |
Fri, 7 Dec 2018 04:36:29 -0600 |
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 1d57be0c91..84f70b2a24 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -316,6 +316,10 @@ static void aarch64_max_initfn(Object *obj)
t = cpu->isar.id_aa64isar1;
t = FIELD_DP64(t, ID_AA64ISAR1, FCMA, 1);
+ t = FIELD_DP64(t, ID_AA64ISAR1, APA, 1); /* PAuth, architected only */
+ t = FIELD_DP64(t, ID_AA64ISAR1, API, 0);
+ t = FIELD_DP64(t, ID_AA64ISAR1, GPA, 1);
+ t = FIELD_DP64(t, ID_AA64ISAR1, GPI, 0);
cpu->isar.id_aa64isar1 = t;
t = cpu->isar.id_aa64pfr0;
--
2.17.2
- [Qemu-devel] [PATCH 18/26] target/arm: Export aa64_va_parameters to internals.h, (continued)
- [Qemu-devel] [PATCH 18/26] target/arm: Export aa64_va_parameters to internals.h, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 19/26] target/arm: Implement pauth_strip, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 20/26] target/arm: Implement pauth_auth, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 16/26] target/arm: Create ARMVAParameters and helpers, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 21/26] target/arm: Implement pauth_addpac, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 22/26] target/arm: Implement pauth_computepac, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 23/26] target/arm: Add PAuth system registers, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 24/26] target/arm: Enable PAuth for user-only -cpu max,
Richard Henderson <=
- [Qemu-devel] [PATCH 25/26] target/arm: Enable PAuth for user-only, part 2, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 26/26] target/arm: Tidy TBI handling in gen_a64_set_pc, Richard Henderson, 2018/12/07