diff options
| author | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-22 15:53:15 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-23 17:43:36 +1000 |
| commit | 8ac9b9d61f0eceba6ce571e7527798465ae9a7c5 (patch) | |
| tree | 36d4e852178add5d0a4d64a03c849b6cfdc9c088 /tools/perf/scripts/python | |
| parent | powerpc/powernv/idle: Exclude mfspr on HID1, 4, 5 on P9 and above (diff) | |
| download | linux-8ac9b9d61f0eceba6ce571e7527798465ae9a7c5.tar.gz linux-8ac9b9d61f0eceba6ce571e7527798465ae9a7c5.zip | |
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
d9470757398a ("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
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
