Re: [PATCH] powerpc/32: Fix missing NULL pmd check in virt_to_kpte()

2020-03-17 Thread Michael Ellerman
On Sat, 2020-03-07 at 10:09:15 UTC, Christophe Leroy wrote: > Commit 2efc7c085f05 ("powerpc/32: drop get_pteptr()"), > replaced get_pteptr() by virt_to_kpte(). But virt_to_kpte() lacks a > NULL pmd check and returns an invalid non NULL pointer when there > is no page table. > > Reported-by: Nick D

Re: [PATCH] powerpc/32: Fix missing NULL pmd check in virt_to_kpte()

2020-03-16 Thread Michael Ellerman
Nick Desaulniers writes: > Hello ppc friends, did this get picked up into -next yet? Not yet. It's in my next-test, but it got stuck there because some subsequent patches caused some CI errors that I had to debug. I'll push it to next today. cheers > On Thu, Mar 12, 2020 at 8:35 PM Nathan Cha

Re: [PATCH] powerpc/32: Fix missing NULL pmd check in virt_to_kpte()

2020-03-12 Thread Nathan Chancellor
On Sat, Mar 07, 2020 at 10:09:15AM +, Christophe Leroy wrote: > Commit 2efc7c085f05 ("powerpc/32: drop get_pteptr()"), > replaced get_pteptr() by virt_to_kpte(). But virt_to_kpte() lacks a > NULL pmd check and returns an invalid non NULL pointer when there > is no page table. > > Reported-by: