diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-29 00:27:45 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-12-13 13:29:08 +1100 |
commit | e5d00aaac651a69b8016d355123438387bfd37be (patch) | |
tree | 1ce836b4c94b0826e4921d4c1b2a36e84efac69a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9dbd5927408c4a0707de73ae9dd9306b184e8fee (diff) |
selftests/powerpc: Check all FPRs in fpu_preempt
There's a selftest that checks FPRs aren't corrupted by preemption, or
just process scheduling. However it only checks the non-volatile FPRs,
meaning corruption of the volatile FPRs could go undetected.
The check_fpu function it calls is used by several other tests, so for
now add a new routine to check all the FPRs. Increase the size of the
array of FPRs to 32, and initialise them all with random values.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231128132748.1990179-2-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions