Re: [PATCH] powerpc: Fix bad pmd error with book3E config

2013-06-18 Thread Michael Neuling
Aneesh Kumar K.V wrote: > Michael Neuling writes: > > > Aneesh Kumar K.V wrote: > > > >> From: "Aneesh Kumar K.V" > >> > >> Book3E uses the hugepd at PMD level and don't encode pte directly > >> at the pmd level. So it will find the lower bits of pmd set > >> and the pmd_bad check throws err

Re: [PATCH] powerpc: Fix bad pmd error with book3E config

2013-06-18 Thread Aneesh Kumar K.V
Michael Neuling writes: > Aneesh Kumar K.V wrote: > >> From: "Aneesh Kumar K.V" >> >> Book3E uses the hugepd at PMD level and don't encode pte directly >> at the pmd level. So it will find the lower bits of pmd set >> and the pmd_bad check throws error. Infact the current code >> will never ta

Re: [PATCH] powerpc: Fix bad pmd error with book3E config

2013-06-18 Thread Michael Neuling
Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Book3E uses the hugepd at PMD level and don't encode pte directly > at the pmd level. So it will find the lower bits of pmd set > and the pmd_bad check throws error. Infact the current code > will never take the free_hugepd_range call at al

Re: [PATCH] powerpc: Fix bad pmd error with book3E config

2013-06-18 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > From: "Aneesh Kumar K.V" > > Book3E uses the hugepd at PMD level and don't encode pte directly > at the pmd level. So it will find the lower bits of pmd set > and the pmd_bad check throws error. Infact the current code > will never take the free_hugepd_range call at

Re: [PATCH] powerpc: Fix bad pmd error with book3E config

2013-06-12 Thread Scott Wood
On Wed, Jun 12, 2013 at 04:00:04PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Book3E uses the hugepd at PMD level and don't encode pte directly > at the pmd level. So it will find the lower bits of pmd set > and the pmd_bad check throws error. Infact the current code > will nev

[PATCH] powerpc: Fix bad pmd error with book3E config

2013-06-12 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" Book3E uses the hugepd at PMD level and don't encode pte directly at the pmd level. So it will find the lower bits of pmd set and the pmd_bad check throws error. Infact the current code will never take the free_hugepd_range call at all because it will clear the pmd if it