]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Add cache_shape sniff test
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Feb 2017 10:13:28 +0000 (21:13 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Mar 2017 08:02:49 +0000 (19:02 +1100)
commitd2a9deeeaaa7806ae6216b559c0c88280a1f3fec
tree5f9876317f4b26e88f44bf47960de2b9c6af3673
parent295fd2d7dbdce9d85b050d2c92a758efff61ca4d
selftests/powerpc: Add cache_shape sniff test

This is a very basic test of the new cache shape AUXV entries. All it
does at the moment is look for the entries and error out if we don't
find all the ones we expect. Primarily intended for folks bringing up a
new chip to check that the cache info is making it all the way to
userspace correctly.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/Makefile
tools/testing/selftests/powerpc/cache_shape/.gitignore [new file with mode: 0644]
tools/testing/selftests/powerpc/cache_shape/Makefile [new file with mode: 0644]
tools/testing/selftests/powerpc/cache_shape/cache_shape.c [new file with mode: 0644]