qemu/tests/tcg
Gustavo Romero 06dd94e843 tests/tcg/aarch64: Extend MTE gdbstub tests to system mode
Extend MTE gdbstub tests to also run in system mode (share tests between
user mode and system mode). The tests will only run if a version of GDB
that supports MTE on baremetal is available in the test environment and
if available compiler supports the 'memtag' flag
(-march=armv8.5-a+memtag).

For the tests running in system mode, a page that supports MTE ops. is
necessary. Therefore, an MTE-enabled page is made available (mapped) in
the third 2 MB chunk of the second 1 GB space in the flat mapping set in
boot.S. A new binary, mte.S, is also introduced for the tests. It links
against boot.S and is executed by QEMU in system mode.

Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Message-Id: <20240906143316.657436-6-gustavo.romero@linaro.org>
[AJB: fix stray _]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240910173900.4154726-11-alex.bennee@linaro.org>
2024-09-10 23:34:03 +01:00
..
aarch64 tests/tcg/aarch64: Extend MTE gdbstub tests to system mode 2024-09-10 23:34:03 +01:00
alpha tests/tcg: Use --noexecstack with assembler files 2024-07-30 11:44:11 +01:00
arm tests/tcg: Use --noexecstack with assembler files 2024-07-30 11:44:11 +01:00
cris
hexagon Hexagon: fix F2_conv_* instructions for negative zero 2024-08-07 20:34:25 -07:00
hppa tests/tcg: Remove run-test-mmap-* 2024-02-29 11:35:37 -10:00
i386 tests/tcg: Use --noexecstack with assembler files 2024-07-30 11:44:11 +01:00
loongarch64 tests/tcg/loongarch64: Use --no-warn-rwx-segments to link system tests 2024-07-30 11:44:13 +01:00
m68k tests/tcg: Remove run-test-mmap-* 2024-02-29 11:35:37 -10:00
minilib tests/tcg/minilib: Constify digits in print_num 2024-07-05 12:33:41 +01:00
mips
multiarch tests/tcg: Test shmat(NULL) 2024-03-26 18:20:36 -10:00
openrisc
plugins tests/tcg: move test plugins into tcg subdir 2024-07-30 11:44:18 +01:00
ppc64 tests/tcg: Skip failing ppc64 multi-threaded tests 2024-07-26 09:21:06 +10:00
ppc64le
riscv64 tests/tcg: Use --noexecstack with assembler files 2024-07-30 11:44:11 +01:00
s390x tests/tcg: Use --noexecstack with assembler files 2024-07-30 11:44:11 +01:00
sh4 target/sh4: Fix SUBV opcode 2024-05-03 17:33:26 +02:00
tricore
x86_64 target/i386: Fix carry flag for BLSI 2024-08-21 09:11:26 +10:00
xtensa tests/tcg/xtensa: add icount/ibreak priority test 2024-01-19 12:28:59 +01:00
xtensaeb
Makefile.target tests/tcg: move test plugins into tcg subdir 2024-07-30 11:44:18 +01:00
README tests/tcg: update README 2024-07-30 11:44:18 +01:00

This directory contains various interesting guest binaries for
regression testing the Tiny Code Generator doing system and user-mode
emulation.

The multiarch directory contains shared code for tests that can be
built for all guest architectures. Architecture specific code can be
found in their respective directories.

System mode tests will be under the "system" subdirectories.

GDB scripts for exercising the gdbstub on specific tests will be found
under the "gdbstb" subdirectories.

See the developer guide for more instructions on "make check-tcg"