summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/copyloops/validate.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests/powerpc: Move shared headers into new include dirSimon Guo2016-11-171-1/+1
| | | | | | | | | | | | There are some functions, especially register related, which can be shared across multiple selftests/powerpc test directories. This patch creates a new include directory to store those shared files, so that the file layout becomes more neat. Signed-off-by: Simon Guo <wei.guo.simon@gmail.com> [mpe: Reworked to move the headers only] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
* selftests/powerpc: Import Anton's memcpy / copy_tofrom_user testsMichael Ellerman2014-03-071-0/+99
Turn Anton's memcpy / copy_tofrom_user test into something that can live in tools/testing/selftests. It requires one turd in arch/powerpc/lib/memcpy_64.S, but it's pretty harmless IMHO. We are sailing very close to the wind with the feature macros. We define them to nothing, which currently means we get a few extra nops and include the unaligned calls. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>