diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-31 21:50:52 +0100 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-08-02 09:54:35 +0000 |
| commit | 2b989c411ab98fa76b7bb3b87ba7a2a4c3b5e946 (patch) | |
| tree | 53efd80e87a777e40a1c03a7b16959ff5aff63ba /tools/perf/scripts/python | |
| parent | 21e37da12071da1e2d2b995219c3f394dd358300 (diff) | |
kselftest/arm64: Don't write to P0 in irritator on SME only systems
Commit 3e360ef0c0a1f ("kselftest/arm64: Corrupt P0 in the irritator when
testing SSVE") added corruption of P0 to the sve-test case in order to
ensure that the predicate registers were covered as part of the
corruption. On SME only systems this results in an illegal instruction
since signal handlers are run out of streaming mode and the predicate
registers do not exist out of streaming mode without SVE. Switch to
entering and exiting streaming mode in the irritator, this will reset
all relevant registers to 0 if they somehow weren't already by the
signal entry.
Fixes: 3e360ef0c0a1f ("kselftest/arm64: Corrupt P0 in the irritator when testing SSVE")
Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
