Re: [PATCH] selftests/powerpc: Add test of memcmp at end of page

2020-07-24 Thread Michael Ellerman
On Wed, 22 Jul 2020 15:53:15 +1000, Michael Ellerman wrote: > 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 i

[PATCH] selftests/powerpc: Add test of memcmp at end of page

2020-07-21 Thread Michael Ellerman
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 d9470757398a ("powerpc/64: Fix memcmp read