]> 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)
commit5587bd63a89b7bd7d9e07cbbace231a463d8bb02
tree5f9876317f4b26e88f44bf47960de2b9c6af3673
parentbc8ebd490484ff55689fe6bf94d48f338a526dfd
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]