kselftest/arm64: Corrupt P0 in the irritator when testing SSVE

When building for streaming SVE the irritator for SVE skips updates of both
P0 and FFR. While FFR is skipped since it might not be present there is no
reason to skip corrupting P0 so switch to an instruction valid in streaming
mode and move the ifdef.

Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
This commit is contained in:
Mark Brown authored and Catalin Marinas committed 2024-11-12 14:52:20 +00:00
1 parent 7dbd26d0b2
commit 3e360ef0c0
1 file changed
+2 -2
+2 -2
View File
@@ -302,9 +302,9 @@ function irritator_handler
movi v0.8b, #1
movi v9.16b, #2
movi v31.8b, #3
#ifndef SSVE
// And P0
rdffr p0.b
ptrue p0.d
#ifndef SSVE
// And FFR
wrffr p15.b
#endif