]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Add more version checks to alignment_handler test
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 31 Jul 2018 12:08:42 +0000 (22:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 14:32:28 +0000 (00:32 +1000)
commit038209fed71a730276b3428951ccd667f77939ea
tree96d600c4f4061aeaaa3644f5ae0e1036ab65a1be
parente7f6bd70933752518fa51f221a39894c83573b13
selftests/powerpc: Add more version checks to alignment_handler test

The alignment_handler is documented to only work on Power8/Power9, but
we can make it run on older CPUs by guarding more of the tests with
feature checks.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
tools/testing/selftests/powerpc/alignment/alignment_handler.c