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/aarch64/system
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>
23 hours ago
..
boot.S tests/tcg: make aarch64 boot.S handle different starting modes 23 hours ago
feat-xs.c tests/tcg/aarch64: add system test for FEAT_XS 6 months ago
kernel.ld tests/tcg/aarch64: Extend MTE gdbstub tests to system mode 9 months ago
mte.S tests/tcg/aarch64: Extend MTE gdbstub tests to system mode 9 months ago
pauth-3.c tests/tcg: compile system emulation tests as freestanding 3 years ago
semiconsole.c tests/tcg: compile system emulation tests as freestanding 3 years ago
semiheap.c arm: spelling fixes 2 years ago
vtimer.c tests/tcg: Don't #include <inttypes.h> in aarch64/system/vtimer.c 1 year ago