qemu-cr16/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>
2025-06-07 15:15:30 +01:00
..
boot.S tests/tcg: make aarch64 boot.S handle different starting modes 2025-06-07 15:15:30 +01:00
feat-xs.c tests/tcg/aarch64: add system test for FEAT_XS 2024-12-17 15:17:46 +00:00
kernel.ld tests/tcg/aarch64: Extend MTE gdbstub tests to system mode 2024-09-10 23:34:03 +01:00
mte.S tests/tcg/aarch64: Extend MTE gdbstub tests to system mode 2024-09-10 23:34:03 +01:00
pauth-3.c tests/tcg: compile system emulation tests as freestanding 2022-07-06 09:31:16 +02:00
semiconsole.c tests/tcg: compile system emulation tests as freestanding 2022-07-06 09:31:16 +02:00
semiheap.c arm: spelling fixes 2023-07-25 17:13:53 +03:00
vtimer.c tests/tcg: Don't #include <inttypes.h> in aarch64/system/vtimer.c 2024-01-18 10:43:51 +01:00