commit | b7683fc66eba91674e52c30f4d8e596bfb5cbcf4 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Tue Jul 24 15:53:22 2018 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Oct 20 13:26:47 2018 +1100 |
tree | e724c8201aa93f0d70b86ed37ee47597afefb882 | |
parent | 0d923962ab69c27cca664a2d535e90ef655110ca [diff] |
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>