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
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>
17 hours ago
..
gdbstub tests/tcg/aarch64: Use raw strings for regexes in test-mte.py 8 months ago
system tests/tcg: make aarch64 boot.S handle different starting modes 17 hours ago
Makefile.softmmu-target tests/tcg: make aarch64 boot.S handle different starting modes 17 hours ago
Makefile.target tests/tcg: Suppress compiler false-positive warning on sha1.c 3 months ago
bti-1.c tests/tcg/aarch64: Explicitly specify register width 11 months ago
bti-2.c
bti-3.c tests/tcg/aarch64: Explicitly specify register width 11 months ago
bti-crt.c.inc
dcpodp.c
dcpop.c
fcvt.ref tests/tcg/arm: Fix fcvt result messages 11 months ago
float_convd.ref
float_convs.ref
float_madds.ref
lse2-fault.c
mte-1.c tests/tcg/aarch64: Fix irg operand type 11 months ago
mte-2.c
mte-3.c
mte-4.c
mte-5.c
mte-6.c
mte-7.c
mte-8.c tests/tcg/aarch64: Add MTE gdbstub tests 11 months ago
mte.h
pauth-1.c
pauth-2.c
pauth-4.c
pauth-5.c
pauth.h
pcalign-a64.c
semicall.h
sme-fmopa-1.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 11 months ago
sme-fmopa-2.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 11 months ago
sme-fmopa-3.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 11 months ago
sme-outprod1.c
sme-smopa-1.c
sme-smopa-2.c
sve-ioctls.c
sve-str.c
sysregs.c
test-826.c
test-2150.c
test-2248.c
test-2375.c
test-aes.c