aboutsummaryrefslogtreecommitdiffstats
path: root/include/arch/aarch64/arch.h
diff options
context:
space:
mode:
authorOlivier Deprez <olivier.deprez@arm.com>2020-12-03 11:02:26 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-12-03 11:02:26 +0000
commit5e8911a035e93233ed9d7047f2684006bf634cd3 (patch)
treef00ec869328c0994a91f2bddf582320dab7cddc3 /include/arch/aarch64/arch.h
parent08886940764be20d1b4db447193230845e76604e (diff)
parent0563ab08e892b899905193d4e482440eecd2d36a (diff)
downloadplatform_external_arm-trusted-firmware-5e8911a035e93233ed9d7047f2684006bf634cd3.tar.gz
platform_external_arm-trusted-firmware-5e8911a035e93233ed9d7047f2684006bf634cd3.tar.bz2
platform_external_arm-trusted-firmware-5e8911a035e93233ed9d7047f2684006bf634cd3.zip
Merge "Aarch64: Add support for FEAT_MTE3" into integration
Diffstat (limited to 'include/arch/aarch64/arch.h')
-rw-r--r--include/arch/aarch64/arch.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/arch/aarch64/arch.h b/include/arch/aarch64/arch.h
index 33e1134dd..2518e5c27 100644
--- a/include/arch/aarch64/arch.h
+++ b/include/arch/aarch64/arch.h
@@ -266,9 +266,17 @@
#define ID_AA64PFR1_EL1_MTE_SHIFT U(8)
#define ID_AA64PFR1_EL1_MTE_MASK ULL(0xf)
-#define MTE_UNIMPLEMENTED ULL(0)
-#define MTE_IMPLEMENTED_EL0 ULL(1) /* MTE is only implemented at EL0 */
-#define MTE_IMPLEMENTED_ELX ULL(2) /* MTE is implemented at all ELs */
+/* Memory Tagging Extension is not implemented */
+#define MTE_UNIMPLEMENTED U(0)
+/* FEAT_MTE: MTE instructions accessible at EL0 are implemented */
+#define MTE_IMPLEMENTED_EL0 U(1)
+/* FEAT_MTE2: Full MTE is implemented */
+#define MTE_IMPLEMENTED_ELX U(2)
+/*
+ * FEAT_MTE3: MTE is implemented with support for
+ * asymmetric Tag Check Fault handling
+ */
+#define MTE_IMPLEMENTED_ASY U(3)
#define ID_AA64PFR1_MPAM_FRAC_SHIFT ULL(16)
#define ID_AA64PFR1_MPAM_FRAC_MASK ULL(0xf)