diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2020-08-19 11:57:26 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-08 22:24:10 +1000 |
commit | 09275d717d1b2d7d5ed91f2140bb34246514a1b4 (patch) | |
tree | 0bb54e127e62c3834d8224fd3ef9b7d4ad2c1702 /tools/testing/selftests/powerpc/switch_endian/switch_endian_test.S | |
parent | selftests/powerpc: Skip L3 bank test on older CPUs (diff) | |
download | linux-dev-09275d717d1b2d7d5ed91f2140bb34246514a1b4.tar.xz linux-dev-09275d717d1b2d7d5ed91f2140bb34246514a1b4.zip |
selftests/powerpc: Don't touch VMX/VSX on older CPUs
If we're running on a CPU without VMX/VSX then don't touch them. This
is fragile, the compiler could spill a VMX/VSX register and break the
test anyway. But in practice it seems to work, ie. the test runs to
completion on a system without VSX with this change.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-8-mpe@ellerman.id.au
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions