Re: [PATCH v2] selftests/powerpc: Add a test of bad (out-of-range) accesses

2020-01-06 Thread Michael Ellerman
On Mon, 2019-05-20 at 10:20:51 UTC, Michael Ellerman wrote: > Userspace isn't allowed to access certain address ranges, make sure we > actually test that to at least some degree. > > This would have caught the recent bug where the SLB fault handler was > incorrectly called on an out-of-range acces

[PATCH v2] selftests/powerpc: Add a test of bad (out-of-range) accesses

2019-05-20 Thread Michael Ellerman
Userspace isn't allowed to access certain address ranges, make sure we actually test that to at least some degree. This would have caught the recent bug where the SLB fault handler was incorrectly called on an out-of-range access when using the Radix MMU. It also would have caught the bug we had i

[PATCH v2] selftests/powerpc: Add a test of bad (out-of-range) accesses

2019-05-20 Thread Michael Ellerman
Userspace isn't allowed to access certain address ranges, make sure we actually test that to at least some degree. This would have caught the recent bug where the SLB fault handler was incorrectly called on an out-of-range access when using the Radix MMU. It also would have caught the bug we had i