[PATCH 0/3] support FEAT_MTE_STORE_ONLY feature
From: Yeoreum Yun
Date: Thu Apr 03 2025 - 10:29:45 EST
The FEAT_MTE_STORE_ONLY feature provides support for
tag check for store operation only. read operation is considered
as unchecked operation so it doesn't raise tag check fault.
NOTE:
This patches based on https://lore.kernel.org/all/20250403141535.23496-1-yeoreum.yun@xxxxxxx/
Yeoreum Yun (3):
arm64/feature: add MTE_STORE_ONLY feature
prtcl: introduce PR_MTE_STORE_ONLY
arm64/kernel: support store-only mte tag check
arch/arm64/include/asm/hwcap.h | 1 +
arch/arm64/include/asm/processor.h | 2 ++
arch/arm64/include/uapi/asm/hwcap.h | 1 +
arch/arm64/kernel/cpufeature.c | 9 +++++++++
arch/arm64/kernel/cpuinfo.c | 1 +
arch/arm64/kernel/mte.c | 11 ++++++++++-
arch/arm64/kernel/process.c | 6 +++++-
arch/arm64/tools/cpucaps | 1 +
include/uapi/linux/prctl.h | 2 ++
9 files changed, 32 insertions(+), 2 deletions(-)
--
LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}