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/riscv64
Julian Ganz 5241645c47 tests: add test with interrupted memory accesses on rv64
This test aims at catching API misbehaviour w.r.t. the interaction
between interrupts and memory accesses, such as the bug fixed in

    27f347e6a1
    (accel/tcg: also suppress asynchronous IRQs for cpu_io_recompile)

Because the condition for triggering misbehaviour may not be
deterministic and the cross-section between memory accesses and
interrupt handlers may be small, we have to place our trust in large
numbers. Instead of guessing/trying an arbitrary, fixed loop-bound, we
decided to loop for a fixed amount of real-time. This avoids the test
running into a time-out on slower machines while enabling a high number
of possible interactions on faster machines.

The test program sends a single '.' per 1000000 loads/stores over the
serial. This output is not captured, but may be used by developers to
gauge the number of possible interactions.

Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Julian Ganz <neither@nut.email>
Message-ID: <20251027110344.2289945-32-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2 weeks ago
..
Makefile.softmmu-target tests: add test with interrupted memory accesses on rv64 2 weeks ago
Makefile.target tests: riscv64: Use 'zfa' instead of 'Zfa' 2 years ago
doubletrap.S tests: add test for double-traps on rv64 2 weeks ago
interruptedmemory.S tests: add test with interrupted memory accesses on rv64 2 weeks ago
issue1060.S
noexec.c
semicall.h tests/tcg: update licenses to GPLv2 as intended 2 years ago
semihost.ld
test-aes.c
test-div.c
test-fcvtmod.c
test-mepc-masking.S tests/tcg/riscv64: Add test for MEPC bit masking 4 months ago
test-noc.S