a475f32b07
Revert "tests/tcg/nios2: Re-enable linux-user tests"
...
nios2 signal tests are broken again:
retry.py -n 10 -c -- ./qemu-nios2 ./tests/tcg/nios2-linux-user/signals
Results summary:
0: 8 times (80.00%), avg time 2.254 (0.00 varience/0.00 deviation)
-11: 2 times (20.00%), avg time 0.253 (0.00 varience/0.00 deviation)
Ran command 10 times, 8 passes
This wasn't picked up by CI as we don't have a docker container that
can build QEMU with the nios2 compiler. I don't have time to bisect
the breakage and the target is orphaned anyway so take the easy route
and revert it.
This reverts commit 20e7524ff9 .
Cc: Chris Wulff <crwulff@gmail.com >
Cc: Marek Vasut <marex@denx.de >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20231106185112.2755262-23-alex.bennee@linaro.org >
2023-11-08 15:15:23 +00:00
25916dd65d
tests/tcg/nios2: Tweak 10m50-ghrd.ld
...
More closely follow the default linker script for nios2.
This magically fixes a problem resolving .got relocs from
the toolchain's libgcc.a.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1258
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20221024035341.2971123-1-richard.henderson@linaro.org >
Message-Id: <20221027183637.2772968-10-alex.bennee@linaro.org >
2022-10-31 20:37:58 +00:00
991e905123
tests/tcg: use regular semihosting for nios2-softmmu
...
The nios2 code now plugs into the common semihosting code so we can
use the same redirect invocation as the other boards. There is however
a bug raised for the fact the tests don't seem to be completing
properly and silently passing anyway:
https://gitlab.com/qemu-project/qemu/-/issues/1258
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20221027183637.2772968-9-alex.bennee@linaro.org >
2022-10-31 20:37:58 +00:00
7f176c5a0b
tests/tcg/nios2: Add test-shadow-1
...
Add a regression test for tcg indirect global lowering.
This appeared with nios2, with cps != 0, so that we use
indirection into the shadow register set. An indirect
call verifies alignment of rA. The use of rA was live
across the brcond leading to a tcg_debug_assert failure.
Cc: Alex Bennée <alex.bennee@linaro.org >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-Id: <20220421151735.31996-65-richard.henderson@linaro.org >
2022-04-26 08:17:10 -07:00
ccbaa553a1
tests/tcg/nios2: Add semihosting multiarch tests
...
Add runtime supporting the nios2-semi.c interface.
Execute the hello and memory multiarch tests.
Cc: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220421151735.31996-64-richard.henderson@linaro.org >
2022-04-26 08:17:05 -07:00
20e7524ff9
tests/tcg/nios2: Re-enable linux-user tests
...
Now that threads and signals have been fixed, re-enable tests.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220421151735.31996-9-richard.henderson@linaro.org >
2022-04-26 08:16:40 -07:00
67f80eb4d0
tests/tcg: enable debian-nios2-cross for test building
...
Now we have a nios2 test image we can start using it to build tests.
However signal handling in nios2 is still broken so we disable the
signals and linux-test tests that trigger the bug.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20211026102234.3961636-12-alex.bennee@linaro.org >
2021-11-04 10:32:01 +00:00