mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] support FEAT_MTE_STORE_ONLY feature
@ 2025-04-03 17:46 Yeoreum Yun
  2025-04-03 17:46 ` [PATCH v2 1/4] arm64/feature: add MTE_STORE_ONLY feature Yeoreum Yun
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Yeoreum Yun @ 2025-04-03 17:46 UTC (permalink / raw)
  To: catalin.marinas, will, broonie, anshuman.khandual, joey.gouly,
	maz, oliver.upton, frederic, james.morse, hardevsinh.palaniya,
	shameerali.kolothum.thodi, huangxiaojia2, mark.rutland,
	samuel.holland, palmer, charlie, thiago.bauermann, bgray, tglx,
	puranjay, david, yang, mbenes, joel.granados
  Cc: linux-arm-kernel, linux-kernel, nd, Yeoreum Yun

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/linux-arm-kernel/20250403172758.67106-1-yeoreum.yun@arm.com/

Since v1:
  - add doc to elf_hwcaps.rst
  - add MTE_STORE_ONLY hwcap test

Yeoreum Yun (4):
  arm64/feature: add MTE_STORE_ONLY feature
  prtcl: introduce PR_MTE_STORE_ONLY
  arm64/kernel: support store-only mte tag check
  tools/kselftest: add MTE_STORE_ONLY feature hwcap test

 Documentation/arch/arm64/elf_hwcaps.rst   |  3 +++
 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 ++
 tools/testing/selftests/arm64/abi/hwcap.c |  6 ++++++
 11 files changed, 41 insertions(+), 2 deletions(-)

--
LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-04-04 21:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-03 17:46 [PATCH v2 0/4] support FEAT_MTE_STORE_ONLY feature Yeoreum Yun
2025-04-03 17:46 ` [PATCH v2 1/4] arm64/feature: add MTE_STORE_ONLY feature Yeoreum Yun
2025-04-03 17:46 ` [PATCH v2 2/4] prtcl: introduce PR_MTE_STORE_ONLY Yeoreum Yun
2025-04-03 17:47 ` [PATCH v2 3/4] arm64/kernel: support store-only mte tag check Yeoreum Yun
2025-04-03 17:47 ` [PATCH v2 4/4] tools/kselftest: add MTE_STORE_ONLY feature hwcap test Yeoreum Yun
2025-04-04 15:58   ` Mark Brown
2025-04-04 17:38 ` [PATCH v2 0/4] support FEAT_MTE_STORE_ONLY feature David Hildenbrand
2025-04-04 19:33   ` Yeoreum Yun
2025-04-04 20:18     ` David Hildenbrand
2025-04-04 21:08       ` Yeoreum Yun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®