Re: [PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-03-01 Thread Michael Ellerman
Scott Wood writes: > On Tue, 2017-02-28 at 14:55 +, Laurentiu Tudor wrote: >> On 02/17/2017 02:18 PM, Aneesh Kumar K.V wrote: >> > laurentiu.tu...@nxp.com writes: >> > > From: Laurentiu Tudor >> > > >> > > On 32-bit book-e machines, hugepd_ok() does not take >> > > into account null hugepd

Re: [PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-02-28 Thread Scott Wood
On Tue, 2017-02-28 at 14:55 +, Laurentiu Tudor wrote: > Hi, > > Some more information on the crash, inline. > > On 02/17/2017 02:18 PM, Aneesh Kumar K.V wrote: > > > > laurentiu.tu...@nxp.com writes: > > > > > > > > From: Laurentiu Tudor > > > > > > On 32-bit book-e machines, hugepd_ok()

Re: [PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-02-28 Thread Laurentiu Tudor
Hi, Some more information on the crash, inline. On 02/17/2017 02:18 PM, Aneesh Kumar K.V wrote: > laurentiu.tu...@nxp.com writes: > >> From: Laurentiu Tudor >> >> On 32-bit book-e machines, hugepd_ok() does not take >> into account null hugepd values, causing this crash at boot: >> >> Unable to

Re: [PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-02-17 Thread Laurentiu Tudor
On 02/17/2017 02:18 PM, Aneesh Kumar K.V wrote: > laurentiu.tu...@nxp.com writes: > >> From: Laurentiu Tudor >> >> On 32-bit book-e machines, hugepd_ok() does not take >> into account null hugepd values, causing this crash at boot: >> >> Unable to handle kernel paging request for data at address

Re: [PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-02-17 Thread Aneesh Kumar K.V
laurentiu.tu...@nxp.com writes: > From: Laurentiu Tudor > > On 32-bit book-e machines, hugepd_ok() does not take > into account null hugepd values, causing this crash at boot: > > Unable to handle kernel paging request for data at address 0x8000 > Faulting instruction address: 0xc00182a8 > Oo

Re: [PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-02-17 Thread Laurentiu Tudor
On 02/17/2017 12:08 PM, Scott Wood wrote: > On Thu, 2017-02-16 at 09:11 -0600, laurentiu.tu...@nxp.com wrote: >> From: Laurentiu Tudor >> >> On 32-bit book-e machines, hugepd_ok() does not take >> into account null hugepd values, causing this crash at boot: > > Why only 32-bit? I wanted to get

Re: [PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-02-17 Thread Scott Wood
On Thu, 2017-02-16 at 09:11 -0600, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > On 32-bit book-e machines, hugepd_ok() does not take > into account null hugepd values, causing this crash at boot: Why only 32-bit? > diff --git a/arch/powerpc/include/asm/nohash/pgtable.h > b/arch/po

[PATCH] powerpc: booke: fix boot crash due to null hugepd

2017-02-16 Thread laurentiu.tudor
From: Laurentiu Tudor On 32-bit book-e machines, hugepd_ok() does not take into account null hugepd values, causing this crash at boot: Unable to handle kernel paging request for data at address 0x8000 Faulting instruction address: 0xc00182a8 Oops: Kernel access of bad area, sig: 11 [#1] SMP