You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/tcg
Alex Bennée 4f5c81844c tests/tcg: make aarch64 boot.S handle different starting modes
Currently the boot.S code assumes everything starts at EL1. This will
break things like the memory test which will barf on unaligned memory
access when run at a higher level.

Adapt the boot code to do some basic verification of the starting mode
and the minimal configuration to move to the lower exception levels.
With this we can run the memory test with:

  -M virt,secure=on
  -M virt,secure=on,virtualization=on
  -M virt,virtualisation=on

If a test needs to be at a particular EL it can use the semihosting
command line to indicate the level we should execute in.

Cc: Julian Armistead <julian.armistead@linaro.org>
Cc: Jim MacArthur <jim.macarthur@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250603110204.838117-4-alex.bennee@linaro.org>
12 hours ago
..
aarch64 tests/tcg: make aarch64 boot.S handle different starting modes 12 hours ago
aarch64_be tests/tcg: enable basic testing for aarch64_be-linux-user 8 months ago
alpha tests/tcg: add a system test to check memory instrumentation 9 months ago
arm tests/tcg: Suppress compiler false-positive warning on sha1.c 3 months ago
hexagon plugins/api: use qemu_target_page_mask() to get value 3 months ago
hppa tests/tcg: Remove run-test-mmap-* 1 year ago
i386 tests/tcg: enable -fwrapv for test-i386-bmi 3 months ago
loongarch64 hw/loongarch/virt: Get physical entry address with elf file 1 month ago
m68k tests/tcg: Remove run-test-mmap-* 1 year ago
minilib tests/tcg/minilib: Constify digits in print_num 11 months ago
mips tests/tcg: Add -fno-stack-protector 2 years ago
multiarch plugins/api: use qemu_target_page_mask() to get value 3 months ago
openrisc
plugins contrib/plugins: Fix type conflict of GLib function pointers 1 month ago
ppc64 tests/tcg: Replace -mpower8-vector with -mcpu=power8 7 months ago
ppc64le tests/tcg: unify ppc64 and ppc64le Makefiles 3 years ago
riscv64 tests/tcg: Use --noexecstack with assembler files 10 months ago
s390x tests/tcg/s390x: Test modifying code using the MVC instruction 4 months ago
sh4 target/sh4: Fix SUBV opcode 1 year ago
tricore tests/tcg: Reset result register after each test 2 years ago
x86_64 tests/tcg/x86_64/fma: add test for exact-denormal output 2 days ago
xtensa tests/tcg/xtensa: add icount/ibreak priority test 1 year ago
xtensaeb tcg: Correct invalid mentions of 'softmmu' by 'system-mode' 2 years ago
Makefile.target tests/tcg: Add SIGRTMIN/SIGRTMAX test 7 months ago
README tests/tcg: update README 10 months ago

README

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"