linux/tools/testing/selftests/powerpc/stringloops
Michael Ellerman 8ac9b9d61f selftests/powerpc: Add test of memcmp at end of page
Update our memcmp selftest, to test the case where we're comparing up
to the end of a page and the subsequent page is not mapped. We have to
make sure we don't read off the end of the page and cause a fault.

We had a bug there in the past, fixed in commit
d947075739 ("powerpc/64: Fix memcmp reading past the end of src/dest").

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200722055315.962391-1-mpe@ellerman.id.au
2020-07-23 17:43:36 +10:00
..
asm powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile selftests/powerpc: Fix Makefiles for headers_install change 2018-09-28 15:07:45 +10:00
memcmp_32.S selftests/powerpc: Add test for 32 bits memcmp 2018-08-07 21:49:29 +10:00
memcmp_64.S
memcmp.c selftests/powerpc: Add test of memcmp at end of page 2020-07-23 17:43:36 +10:00
string.c selftests/powerpc: Add test for strlen() 2018-08-07 21:49:30 +10:00
strlen_32.S selftests/powerpc: Update strlen() test to test the new assembly function for PPC32 2018-08-07 21:49:31 +10:00
strlen.c selftests/powerpc: Add test for strlen() 2018-08-07 21:49:30 +10:00