Re: [PATCH v4 1/9] tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC

2023-08-29 Thread Richard Henderson
On 8/29/23 05:52, Peter Maydell wrote: -run-pauth-%: QEMU_OPTS += -cpu max +run-pauth-1: QEMU_OPTS += -cpu max +run-pauth-2: QEMU_OPTS += -cpu max +run-pauth-4: QEMU_OPTS += -cpu neoverse-v1 +run-pauth-5: QEMU_OPTS += -cpu neoverse-v1 Why do we need to specify neoverse-v1 here ? A comment would

Re: [PATCH v4 1/9] tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC

2023-08-29 Thread Peter Maydell
On Tue, 22 Aug 2023 at 05:27, Richard Henderson wrote: > > With FEAT_FPAC, AUT* instructions that fail authentication > do not produce an error value but instead fault. > > For pauth-2, install a signal handler and verify it gets called. > > For pauth-4 and pauth-5, we are explicitly testing the e

[PATCH v4 1/9] tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC

2023-08-21 Thread Richard Henderson
With FEAT_FPAC, AUT* instructions that fail authentication do not produce an error value but instead fault. For pauth-2, install a signal handler and verify it gets called. For pauth-4 and pauth-5, we are explicitly testing the error value, so there's nothing to test with FEAT_FPAC, so exit early