target/arm: Implement MTE3
PATCH v2 1/1 target/arm: Implement MTE3
MTE3 introduces an asymmetric tag checking mode, in which loads are checked synchronously and stores are checked asynchronously. Add support for it.
Signed-off-by Peter Collingbourne <[email protected]>
Reviewed-by Richard Henderson <[email protected]>
---
v2:
- remove unused argument
target/arm/cpu64.c | 2 +- target/arm/mte_helper.c | 82 +++++++++++++++++++++++++---------------- 2 files changed, 52 insertions(+), 32 deletions(-)
target/arm/cpu64.c +1 -1
@@ -683,7 +683,7 @@ static void aarch64_max_initfn(Object *obj)* during realize if the board provides no tag memory, much like * we do for EL2 with the virtualization=on property. */ - t =FIELD_DP64 (t,ID_AA64PFR1 ,MTE ,2 ); + t =FIELD_DP64 (t,ID_AA64PFR1 ,MTE ,3 ); cpu->isar.id_aa64pfr1 = t; t = cpu->isar.id_aa64mmfr0;
target/arm/mte_helper.c +51 -31
108 lines not on this page · raw message
Signature · 1 line
2.32.0.272.g935e593368-goog
Peter Maydell
AppliedQuoted 7 lines · Peter Collingbourne
MTE3 introduces an asymmetric tag checking mode, in which loads are checked synchronously and stores are checked asynchronously. Add support for it.
Signed-off-by Peter Collingbourne <[email protected]>Reviewed-by Richard Henderson <[email protected]>
Quoted 7 lines
---
v2:
- remove unused argumenttarget/arm/cpu64.c | 2 +- target/arm/mte_helper.c | 82 +++++++++++++++++++++++++---------------- 2 files changed, 52 insertions(+), 32 deletions(-)
Applied to target-arm.next, thanks.
-- PMM