summaryrefslogtreecommitdiff
path: root/Documentation/arm64/elf_hwcaps.rst
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-02-16 17:32:23 +0000
committerWill Deacon <will@kernel.org>2022-02-25 14:41:05 +0000
commitd082a0255fcb8fcb4bd8257df111f2caa67086bc (patch)
treed258cb9a841b10c882bf18bb34bc02bc2f6c297c /Documentation/arm64/elf_hwcaps.rst
parentcb627397e02bc65e44912daebfe0bbe6b0ecd384 (diff)
downloadlwn-d082a0255fcb8fcb4bd8257df111f2caa67086bc.tar.gz
lwn-d082a0255fcb8fcb4bd8257df111f2caa67086bc.zip
arm64/mte: Add hwcap for asymmetric mode
Allow userspace to detect support for asymmetric mode by providing a hwcap for it, using the official feature name FEAT_MTE3. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Vincenzo Frascino <Vincenzo.Frascino@arm.com> Tested-by: Branislav Rankov <branislav.rankov@arm.com> Link: https://lore.kernel.org/r/20220216173224.2342152-4-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation/arm64/elf_hwcaps.rst')
-rw-r--r--Documentation/arm64/elf_hwcaps.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/arm64/elf_hwcaps.rst b/Documentation/arm64/elf_hwcaps.rst
index b72ff17d600a..a8f30963e550 100644
--- a/Documentation/arm64/elf_hwcaps.rst
+++ b/Documentation/arm64/elf_hwcaps.rst
@@ -259,6 +259,11 @@ HWCAP2_RPRES
Functionality implied by ID_AA64ISAR2_EL1.RPRES == 0b0001.
+HWCAP2_MTE3
+
+ Functionality implied by ID_AA64PFR1_EL1.MTE == 0b0011, as described
+ by Documentation/arm64/memory-tagging-extension.rst.
+
4. Unused AT_HWCAP bits
-----------------------