qemu-cr16/tests
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>
2025-10-29 14:12:43 +00:00
..
bench tests/bench: Rename test_akcipher_keys.inc -> test_akcipher_keys.c.inc 2024-09-20 10:08:24 +03:00
data tests/data/acpi/loongarch64: Update expected DSDT.* 2025-10-09 19:09:10 +08:00
decode decodetree: Infer argument set before inferring format 2025-07-25 10:31:45 +01:00
docker * i386: fix migration issues in 10.1 2025-10-09 07:59:01 -07:00
fp fpu: allow flushing of output denormals to be after rounding 2025-02-11 16:22:07 +00:00
functional tests/functional/i386: Remove unused variable from the replay test 2025-10-28 16:50:17 +03:00
guest-debug tests, scripts: Don't import print_function from __future__ 2025-09-16 17:31:53 +01:00
image-fuzzer
include meson: fix Windows build 2025-06-16 13:16:27 -04:00
keys
lcitool tests/lcitool: generate a yaml file for the ppc64le runner 2025-10-29 14:12:43 +00:00
migration-stress guestperf: Add test result data into report 2025-02-14 15:19:07 -03:00
multiboot
perf/block/qcow2
qapi-schema qapi: switch to use QEMU_TEST_REGENERATE env var 2025-09-16 13:31:40 -04:00
qemu-iotests iotests/check: always enable all python warnings 2025-09-15 14:36:02 -04:00
qtest qtest/am53c974-test: add additional test for cmdfifo overflow 2025-10-28 14:50:07 +01:00
rocker
tcg tests: add test with interrupted memory accesses on rv64 2025-10-29 14:12:43 +00:00
tracetool tracetool/syslog: add Rust support 2025-10-01 11:22:07 -04:00
tsan system/physmem: Drop 'cpu_' prefix in Physical Memory API 2025-10-07 05:03:56 +02:00
uefi-test-tools uefi-test-tools:: Add LoongArch64 support 2025-06-01 06:38:53 -04:00
unit char: rename CharBackend->CharFrontend 2025-10-28 14:49:52 +01:00
vm tests/freebsd: enable Rust 2025-09-30 19:33:25 +04:00
dbus-vmstate-daemon.sh
Makefile.include tests: Evict stale files in the functional download cache after a while 2025-10-16 17:44:32 +02:00
meson.build tracetool: add test suite for tracetool with reference output 2025-09-16 13:31:40 -04:00
test-qht-par.c
vhost-user-bridge.c