On 5/28/26 08:08, Peter Maydell wrote:
On Mon, 11 May 2026 at 15:01, Gabriel Brookman
<[email protected]> wrote:

This series implements ARM's Enhanced Memory Tagging Extension
(MTE4). MTE4 implies the presence of several subfeatures:
FEAT_MTE_CANONICAL_TAGS, FEAT_MTE_TAGGED_FAR, FEAT_MTE_STORE_ONLY,
FEAT_MTE_NO_ADDRESS_TAGS, and FEAT_MTE_PERM, none of which are
currently implemented in QEMU. This patch implements all five.

Testing:
   - Included for FAR and STORE_ONLY.
   - The MTE_CANONICAL/NAT test from v2, modified so MTE_CANONICAL is
     enabled in user mode (removed from tree in v3).
   - A bare-metal testsuite that sets up page tables for S1 and S2
     translation, to test the Tagged NoTagAccess fault.
   - The bare-metal testsuite also was used to test LDGM and similar
     instructions not permitted in user-mode.
   - The bare-metal testsuite also was used to test the mtx related
     patches.

Thanks,
Gabriel Brookman

For me this series causes "make check-tcg" to fail, because the
"mte-10" test segfaults:

$ ./build/arm-clang/qemu-aarch64
./build/arm-clang/tests/tcg/aarch64-linux-user/mte-10
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

That's odd.  It works for me, both with gcc and clang.

r~

Reply via email to