Skip to content

arm64/mte: Asymmetric MTE support in userspace

Mark Brown linux-arm-kernel 2 versions – Applied

Status from this message: Applied to arm64 (for-next/mte), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v14 patches 29 repliesSuperseded

Changes in v2 from the cover letter

- Add details on mode selection when multiple modes are specified in the documentation (dropped Catalin & Vincenzo's tags from that patch).
- Correct load/store inversions in commit messages.
- Rebase onto v5.17-rc3.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4arm64/mte: Document ABI for asymmetric modeDocumentation/arm64/memory-tagging-extension.rst+15 -61 reply
2/4arm64/mte: Add a little bit of documentation for mte_update_sctlr_user()arch/arm64/kernel/mte.c+14 -00 replies
3/4arm64/mte: Add hwcap for asymmetric modeDocumentation/arm64/elf_hwcaps.rst arch/arm64/include/asm/hwcap.h arch/arm64/include/uapi/asm/hwcap.h +2 more+9 -00 replies
4/4arm64/mte: Add userspace interface for enabling asymmetric modearch/arm64/include/asm/processor.h arch/arm64/kernel/mte.c arch/arm64/kernel/process.c +1 more+19 -30 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchCatalin MarinasVincenzo FrascinoBranislav Rankov
1/4R-b
2/4R-b R-b T-b
3/4R-b R-b T-b
4/4R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] arm64/mte: Asymmetric MTE support in userspace

MTE3 adds a new mode which is synchronous for writes but asynchronous for reads. Currently we make use of this within the kernel but do not make it available for userspace, this series extends the existing userspace ABI to allow that to happen.

There's no updates to the kselftests for MTE here, I have some work in progress there but there's some overlap with Joey's work extending the tests to cover some additional cases and there's some fairly extensive assumptions that need to be unpicked about only being able to generate one type of fault at once. I'll clean that up and post it later.

v2:
- Add details on mode selection when multiple modes are specified in the documentation (dropped Catalin & Vincenzo's tags from that patch).
- Correct load/store inversions in commit messages.
- Rebase onto v5.17-rc3.

Mark Brown (4):
arm64/mte: Document ABI for asymmetric mode arm64/mte: Add a little bit of documentation for
mte_update_sctlr_user()
arm64/mte: Add hwcap for asymmetric mode
arm64/mte: Add userspace interface for enabling asymmetric mode

 Documentation/arm64/elf_hwcaps.rst            |  5 ++++
 .../arm64/memory-tagging-extension.rst        | 21 ++++++++++-----
 arch/arm64/include/asm/hwcap.h                |  1 +
 arch/arm64/include/asm/processor.h            |  1 +
 arch/arm64/include/uapi/asm/hwcap.h           |  1 +
 arch/arm64/kernel/cpufeature.c                |  1 +
 arch/arm64/kernel/cpuinfo.c                   |  1 +
 arch/arm64/kernel/mte.c                       | 26 ++++++++++++++++++-
 arch/arm64/kernel/process.c                   |  5 +++-
 include/uapi/linux/prctl.h                    |  4 ++-
 10 files changed, 57 insertions(+), 9 deletions(-)

base-commit: dfd42facf1e4ada021b939b4e19c935dcdd55566

Signature · 7 lines
2.30.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel