Re: [PATCH] powerpc/mm/hash: Hand user access of kernel address gracefully

2018-12-12 Thread Michael Ellerman
Breno Leitao writes: > hi Aneesh, > > On 11/26/18 12:35 PM, Aneesh Kumar K.V wrote: >> With commit 2865d08dd9ea ("powerpc/mm: Move the DSISR_PROTFAULT sanity >> check") >> we moved the protection fault access check before vma lookup. That means we >> hit that WARN_ON when user space access a ker

Re: [PATCH] powerpc/mm/hash: Hand user access of kernel address gracefully

2018-11-27 Thread Breno Leitao
hi Aneesh, On 11/26/18 12:35 PM, Aneesh Kumar K.V wrote: > With commit 2865d08dd9ea ("powerpc/mm: Move the DSISR_PROTFAULT sanity check") > we moved the protection fault access check before vma lookup. That means we > hit that WARN_ON when user space access a kernel address. Before the commit > t