linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] support FEAT_MTE_TAGGED_FAR feature
@ 2025-04-03 17:27 Yeoreum Yun
  2025-04-03 17:27 ` [PATCH v2 1/3] arm64: add " Yeoreum Yun
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yeoreum Yun @ 2025-04-03 17:27 UTC (permalink / raw)
  To: catalin.marinas, will, broonie, anshuman.khandual, joey.gouly,
	yury.khrustalev, maz, oliver.upton, frederic,
	shameerali.kolothum.thodi, james.morse, mark.rutland,
	huangxiaojia2, akpm, surenb, robin.murphy
  Cc: linux-arm-kernel, linux-kernel, linux-doc, nd, Yeoreum Yun

The FEAT_MTE_TAGGED_FAR feature provides support for
reporting all non-address bits during a synchronous MTE tag check fault.

This patchset extends the reporting tag to include
not only the memory tag (logical tag) but also the address tag via
si_addr when FEAT_MTE_TAGGED_FAR feature is supported.

Since v1:
  - add hwcap test for MTE_FAR feature.
  - add MTE_FAR doc into elf_hwcap.rst


Yeoreum Yun (3):
  arm64: add FEAT_MTE_TAGGED_FAR feature
  arm64/mm/fault: use original FAR_EL1 value when ARM64_MTE_FAR is
    supported
  tools/kselftest: add MTE_FAR hwcap test

 Documentation/arch/arm64/elf_hwcaps.rst      |  3 +++
 Documentation/arch/arm64/tagged-pointers.rst | 11 ++++++-----
 arch/arm64/include/asm/hwcap.h               |  1 +
 arch/arm64/include/uapi/asm/hwcap.h          |  1 +
 arch/arm64/kernel/cpufeature.c               |  9 +++++++++
 arch/arm64/kernel/cpuinfo.c                  |  1 +
 arch/arm64/mm/fault.c                        |  7 +++++--
 arch/arm64/tools/cpucaps                     |  1 +
 tools/testing/selftests/arm64/abi/hwcap.c    |  6 ++++++
 9 files changed, 33 insertions(+), 7 deletions(-)

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



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

end of thread, other threads:[~2025-04-07 12:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-03 17:27 [PATCH v2 0/3] support FEAT_MTE_TAGGED_FAR feature Yeoreum Yun
2025-04-03 17:27 ` [PATCH v2 1/3] arm64: add " Yeoreum Yun
2025-04-07 12:04   ` Yury Khrustalev
2025-04-03 17:27 ` [PATCH v2 2/3] arm64/mm/fault: use original FAR_EL1 value when ARM64_MTE_FAR is supported Yeoreum Yun
2025-04-03 17:27 ` [PATCH v2 3/3] tools/kselftest: add MTE_FAR hwcap test Yeoreum Yun
2025-04-04 15:57   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).