[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 39/42] target/arm: Enable MTE
From: |
Richard Henderson |
Subject: |
[PATCH v6 39/42] target/arm: Enable MTE |
Date: |
Thu, 12 Mar 2020 12:42:16 -0700 |
We now implement all of the components of MTE, without actually
supporting any tagged memory. All MTE instructions will work,
trivially, so we can enable support.
Signed-off-by: Richard Henderson <address@hidden>
---
v6: Delay user-only cpu reset bits to the user-only patch set.
---
target/arm/cpu64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
index 62d36f9e8d..94e83b8487 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -665,6 +665,7 @@ static void aarch64_max_initfn(Object *obj)
t = cpu->isar.id_aa64pfr1;
t = FIELD_DP64(t, ID_AA64PFR1, BT, 1);
+ t = FIELD_DP64(t, ID_AA64PFR1, MTE, 2);
cpu->isar.id_aa64pfr1 = t;
t = cpu->isar.id_aa64mmfr1;
--
2.20.1
- [PATCH v6 28/42] target/arm: Use mte_checkN for sve unpredicated loads, (continued)
- [PATCH v6 28/42] target/arm: Use mte_checkN for sve unpredicated loads, Richard Henderson, 2020/03/12
- [PATCH v6 29/42] target/arm: Use mte_checkN for sve unpredicated stores, Richard Henderson, 2020/03/12
- [PATCH v6 30/42] target/arm: Use mte_check1 for sve LD1R, Richard Henderson, 2020/03/12
- [PATCH v6 32/42] target/arm: Add mte helpers for sve scalar + int stores, Richard Henderson, 2020/03/12
- [PATCH v6 34/42] target/arm: Handle TBI for sve scalar + int memory ops, Richard Henderson, 2020/03/12
- [PATCH v6 31/42] target/arm: Add mte helpers for sve scalar + int loads, Richard Henderson, 2020/03/12
- [PATCH v6 33/42] target/arm: Add mte helpers for sve scalar + int ff/nf loads, Richard Henderson, 2020/03/12
- [PATCH v6 36/42] target/arm: Complete TBI clearing for user-only for SVE, Richard Henderson, 2020/03/12
- [PATCH v6 38/42] target/arm: Set PSTATE.TCO on exception entry, Richard Henderson, 2020/03/12
- [PATCH v6 37/42] target/arm: Implement data cache set allocation tags, Richard Henderson, 2020/03/12
- [PATCH v6 39/42] target/arm: Enable MTE,
Richard Henderson <=
- [PATCH v6 40/42] target/arm: Cache the Tagged bit for a page in MemTxAttrs, Richard Henderson, 2020/03/12
- [PATCH v6 41/42] target/arm: Create tagged ram when MTE is enabled, Richard Henderson, 2020/03/12
- [PATCH v6 42/42] target/arm: Add allocation tag storage for system mode, Richard Henderson, 2020/03/12
- [PATCH v6 35/42] target/arm: Add mte helpers for sve scatter/gather memory ops, Richard Henderson, 2020/03/12