[PATCH v2 1/3] arm64: add FEAT_MTE_TAGGED_FAR feature
Yury Khrustalev
yury.khrustalev at arm.com
Mon Apr 7 05:04:24 PDT 2025
On Thu, Apr 03, 2025 at 06:27:56PM +0100, Yeoreum Yun wrote:
> Add FEAT_MTE_TAGGED_FAR cpucap which makes FAR_ELx report
> all non-address bits on a synchronous MTE tag check fault since Armv8.9
>
> Signed-off-by: Yeoreum Yun <yeoreum.yun at arm.com>
> ---
> ...
> arch/arm64/include/asm/hwcap.h | 1 +
> ...
>
> diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h
> index 705a7afa8e58..7d22527a7975 100644
> --- a/arch/arm64/include/uapi/asm/hwcap.h
> +++ b/arch/arm64/include/uapi/asm/hwcap.h
> @@ -143,5 +143,6 @@
> /*
> * HWCAP3 flags - for AT_HWCAP3
> */
> +#define HWCAP3_MTE_FAR (1UL << 0)
Acked-by: Yury Khrustalev <yury.khrustalev at arm.com>
More information about the linux-arm-kernel
mailing list