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>
1 month ago
..
gdbstub tests/tcg/aarch64: Use raw strings for regexes in test-mte.py 9 months ago
system tests/tcg: make aarch64 boot.S handle different starting modes 1 month ago
Makefile.softmmu-target tests/tcg: make aarch64 boot.S handle different starting modes 1 month ago
Makefile.target tests/tcg: Suppress compiler false-positive warning on sha1.c 4 months ago
bti-1.c tests/tcg/aarch64: Explicitly specify register width 1 year ago
bti-2.c tests/tcg/aarch64: Add bti smoke tests 5 years ago
bti-3.c tests/tcg/aarch64: Explicitly specify register width 1 year ago
bti-crt.c.inc tests/tcg/aarch64: Rename bti-crt.inc.c -> bti-crt.c.inc 2 years ago
dcpodp.c tests/tcg/aarch64: add DC CVA[D]P tests 2 years ago
dcpop.c tests/tcg/aarch64: add DC CVA[D]P tests 2 years ago
fcvt.ref tests/tcg/arm: Fix fcvt result messages 1 year ago
float_convd.ref tests/tcg: add float_convd test 3 years ago
float_convs.ref tests/tcg: add generic version of float_convs 6 years ago
float_madds.ref tests/tcg: add float_madds test to multiarch 6 years ago
lse2-fault.c accel/tcg: Avoid reading too much in load_atom_{2,4} 2 years ago
mte-1.c tests/tcg/aarch64: Fix irg operand type 1 year ago
mte-2.c tests/tcg/aarch64: Add mte smoke tests 4 years ago
mte-3.c tests/tcg/aarch64: Add mte smoke tests 4 years ago
mte-4.c tests/tcg/aarch64: Add mte smoke tests 4 years ago
mte-5.c test/tcg/aarch64: Add mte-5 4 years ago
mte-6.c accel/tcg: Preserve PAGE_ANON when changing page permissions 4 years ago
mte-7.c tests/tcg/aarch64: Use stz2g in mte-7.c 2 years ago
mte-8.c tests/tcg/aarch64: Add MTE gdbstub tests 1 year ago
mte.h accel/tcg: Preserve PAGE_ANON when changing page permissions 4 years ago
pauth-1.c tests/tcg/aarch64: Add newline in pauth-1 printf 5 years ago
pauth-2.c tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC 2 years ago
pauth-4.c tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC 2 years ago
pauth-5.c tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC 2 years ago
pauth.h tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC 2 years ago
pcalign-a64.c tests/tcg: Add arm and aarch64 pc alignment tests 4 years ago
semicall.h tests/tcg: update licenses to GPLv2 as intended 1 year ago
sme-fmopa-1.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 1 year ago
sme-fmopa-2.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 1 year ago
sme-fmopa-3.c tests/tcg/aarch64: Add test cases for SME FMOPA (widening) 1 year ago
sme-outprod1.c arm: spelling fixes 2 years ago
sme-smopa-1.c target/arm: Fix 32-bit SMOPA 1 year ago
sme-smopa-2.c target/arm: Fix 32-bit SMOPA 1 year ago
sve-ioctls.c tests/tcg/aarch64: add SVE iotcl test 5 years ago
sve-str.c target/arm: Fix SVE STR increment 2 years ago
sysregs.c target/arm: Add ID_AA64ZFR0_EL1.B16B16 to the exposed-to-userspace set 1 year ago
test-826.c target/arm: Fix sve2 ldnt1 and stnt1 3 years ago
test-2150.c tcg/optimize: Do not attempt to constant fold neg_vec 1 year ago
test-2248.c tcg/optimize: Fix sign_mask for logical right-shift 1 year ago
test-2375.c target/arm: Fix FJCVTZS vs flush-to-zero 1 year ago
test-aes.c tests/multiarch: Add test-aes 2 years ago