selftests/powerpc: Skip security tests on older CPUs
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Aug 2020 01:57:24 +0000 (11:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Sep 2020 12:24:05 +0000 (22:24 +1000)
commit3a31518a242dcb262b008d3bb5d4b1cf50cf4026
treed3ae6255ae2d8eb7efa97c0cfb8780f75281889d
parent4c3c3c502575556c4bc1b401235e641863b1bce6
selftests/powerpc: Skip security tests on older CPUs

Both these tests use PMU events that only work on newer CPUs, so skip
them on older CPUs.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-6-mpe@ellerman.id.au
tools/testing/selftests/powerpc/security/rfi_flush.c
tools/testing/selftests/powerpc/security/spectre_v2.c