[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/11] tests/tcg/aarch64: force qarma5 for pauth-3 test
From: |
Peter Maydell |
Subject: |
[PULL 09/11] tests/tcg/aarch64: force qarma5 for pauth-3 test |
Date: |
Mon, 13 Jan 2025 13:54:06 +0000 |
The pauth-3 test explicitly tests that a computation of the
pointer-authentication produces the expected result. This means that
it must be run with the QARMA5 algorithm.
Explicitly set the pauth algorithm when running this test, so that it
doesn't break when we change the default algorithm the 'max' CPU
uses.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
tests/tcg/aarch64/Makefile.softmmu-target | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/tcg/aarch64/Makefile.softmmu-target
b/tests/tcg/aarch64/Makefile.softmmu-target
index d08d9b01ded..9c52475b7ae 100644
--- a/tests/tcg/aarch64/Makefile.softmmu-target
+++ b/tests/tcg/aarch64/Makefile.softmmu-target
@@ -91,6 +91,9 @@ EXTRA_RUNS+=run-memory-replay
ifneq ($(CROSS_CC_HAS_ARMV8_3),)
pauth-3: CFLAGS += $(CROSS_CC_HAS_ARMV8_3)
+# This test explicitly checks the output of the pauth operation so we
+# must force the use of the QARMA5 algorithm for it.
+run-pauth-3: QEMU_BASE_MACHINE=-M virt -cpu max,pauth-qarma5=on -display none
else
pauth-3:
$(call skip-test, "BUILD of $@", "missing compiler support")
--
2.34.1
- [PULL 00/11] target-arm queue, Peter Maydell, 2025/01/13
- [PULL 04/11] tests/qtest/boot-serial-test: Reduce for() loop in PL011 tests, Peter Maydell, 2025/01/13
- [PULL 01/11] hw/arm_sysctl: fix extracting 31th bit of val, Peter Maydell, 2025/01/13
- [PULL 08/11] target/arm: add new property to select pauth-qarma5, Peter Maydell, 2025/01/13
- [PULL 05/11] tests/qtest/boot-serial-test: Reorder pair of instructions in PL011 test, Peter Maydell, 2025/01/13
- [PULL 02/11] hw/misc: cast rpm to uint64_t, Peter Maydell, 2025/01/13
- [PULL 06/11] tests/qtest/boot-serial-test: Initialize PL011 Control register, Peter Maydell, 2025/01/13
- [PULL 10/11] target/arm: change default pauth algorithm to impdef, Peter Maydell, 2025/01/13
- [PULL 03/11] tests/qtest/boot-serial-test: Improve ASM comments of PL011 tests, Peter Maydell, 2025/01/13
- [PULL 11/11] docs/system/arm/virt: mention specific migration information, Peter Maydell, 2025/01/13
- [PULL 09/11] tests/tcg/aarch64: force qarma5 for pauth-3 test,
Peter Maydell <=
- [PULL 07/11] target/arm: Move minor arithmetic helpers out of helper.c, Peter Maydell, 2025/01/13
- Re: [PULL 00/11] target-arm queue, Stefan Hajnoczi, 2025/01/13