diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2020-07-24 11:41:31 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-07-24 12:55:29 +0200 |
commit | a46cec12f4a53ee5113f42b327cbb8d4cda074d2 (patch) | |
tree | 936e213b8b2a59f6e24185e776374fa7ebcef3f2 /arch/arm64/include/uapi | |
parent | arm64/entry: deduplicate SW PAN entry/exit routines (diff) | |
download | linux-a46cec12f4a53ee5113f42b327cbb8d4cda074d2.tar.xz linux-a46cec12f4a53ee5113f42b327cbb8d4cda074d2.zip |
arm64: Reserve HWCAP2_MTE as (1 << 18)
While MTE is not supported in the upstream kernel yet, add a comment
that HWCAP2_MTE as (1 << 18) is reserved. Glibc makes use of it for the
resolving (ifunc) of the MTE-safe string routines.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/uapi')
-rw-r--r-- | arch/arm64/include/uapi/asm/hwcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h index 2d6ba1c2592e..912162f73529 100644 --- a/arch/arm64/include/uapi/asm/hwcap.h +++ b/arch/arm64/include/uapi/asm/hwcap.h @@ -74,5 +74,6 @@ #define HWCAP2_DGH (1 << 15) #define HWCAP2_RNG (1 << 16) #define HWCAP2_BTI (1 << 17) +/* reserved for HWCAP2_MTE (1 << 18) */ #endif /* _UAPI__ASM_HWCAP_H */ |