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 access when using the Radix MMU. > It also would have caught the bug we had in get_region_id() where we > were inserting SLB entries for bad addresses. > > Signed-off-by: Michael Ellerman <m...@ellerman.id.au> > Signed-off-by: Nicholas Piggin <npig...@gmail.com>
Applied to powerpc next. https://git.kernel.org/powerpc/c/5eb7cfb3a2b178f3d443301cda0825bb9f475657 cheers