diff options
| author | Michael Ellerman <[email protected]> | 2023-11-29 00:27:44 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-12-13 13:29:08 +1100 |
| commit | 9dbd5927408c4a0707de73ae9dd9306b184e8fee (patch) | |
| tree | ae259a850e994194772bf29254444986ca283a1d /tools/perf/scripts/python | |
| parent | 402928b58ec62b42b11992a7b51ff2f56ed65a18 (diff) | |
selftests/powerpc: Fix error handling in FPU/VMX preemption tests
The FPU & VMX preemption tests do not check for errors returned by the
low-level asm routines, preempt_fpu() / preempt_vsx() respectively.
That means any register corruption detected by the asm routines does not
result in a test failure.
Fix it by returning the return value of the asm routines from the
pthread child routines.
Fixes: e5ab8be68e44 ("selftests/powerpc: Test preservation of FPU and VMX regs across preemption")
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions