diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-24 15:53:22 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-20 13:26:47 +1100 |
commit | b7683fc66eba91674e52c30f4d8e596bfb5cbcf4 (patch) | |
tree | e724c8201aa93f0d70b86ed37ee47597afefb882 /tools/testing/selftests/powerpc/mm/.gitignore | |
parent | powerpc/mm: Fix page table dump to work on Radix (diff) | |
download | linux-dev-b7683fc66eba91674e52c30f4d8e596bfb5cbcf4.tar.xz linux-dev-b7683fc66eba91674e52c30f4d8e596bfb5cbcf4.zip |
selftests/powerpc: Add a test of wild bctr
This tests that a bctr (Branch to counter and link), ie. a function
call, to a wildly out-of-bounds address is handled correctly.
Some old kernel versions didn't handle it correctly, see eg:
"powerpc/slb: Force a full SLB flush when we insert for a bad EA"
https://lists.ozlabs.org/pipermail/linuxppc-dev/2017-April/157397.html
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/mm/.gitignore')
-rw-r--r-- | tools/testing/selftests/powerpc/mm/.gitignore | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/mm/.gitignore b/tools/testing/selftests/powerpc/mm/.gitignore index 7d7c42ed6de9..ba919308fe30 100644 --- a/tools/testing/selftests/powerpc/mm/.gitignore +++ b/tools/testing/selftests/powerpc/mm/.gitignore @@ -2,4 +2,5 @@ hugetlb_vs_thp_test subpage_prot tempfile prot_sao -segv_errors
\ No newline at end of file +segv_errors +wild_bctr
\ No newline at end of file |