Re: [v4,17/21] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-11-25 Thread Scott Wood
On Tue, 2014-11-18 at 21:07 +0100, christophe leroy wrote: > Le 08/11/2014 01:08, Scott Wood a écrit : > > > > OK, so the _PAGE_KERNEL_RO(X) stuff is because initially setting the PTE > > doesn't go through pte_update(). > > > > I'll apply this, though it'd be cleaner to just have 8xx versions of t

Re: [v4,17/21] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-11-18 Thread christophe leroy
Le 08/11/2014 01:08, Scott Wood a écrit : OK, so the _PAGE_KERNEL_RO(X) stuff is because initially setting the PTE doesn't go through pte_update(). I'll apply this, though it'd be cleaner to just have 8xx versions of the relevant PTE accessor functions to maintain the PTE the way the hardware

Re: [v4,17/21] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-11-07 Thread Scott Wood
On Fri, 2014-11-07 at 09:00 +0100, leroy christophe wrote: > Le 07/11/2014 04:37, Scott Wood a écrit : > > On Fri, Sep 19, 2014 at 10:36:09AM +0200, LEROY Christophe wrote: > >> No need to re-set this bit at each TLB miss. Let's set it in the PTE. > >> > >> Signed-off-by: Christophe Leroy > >> ---

Re: [v4,17/21] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-11-07 Thread leroy christophe
Le 07/11/2014 04:37, Scott Wood a écrit : On Fri, Sep 19, 2014 at 10:36:09AM +0200, LEROY Christophe wrote: No need to re-set this bit at each TLB miss. Let's set it in the PTE. Signed-off-by: Christophe Leroy --- Changes in v2: - None Changes in v3: - Removed PPC405 related macro from PPC8x

Re: [v4,17/21] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-11-06 Thread Scott Wood
On Fri, Sep 19, 2014 at 10:36:09AM +0200, LEROY Christophe wrote: > No need to re-set this bit at each TLB miss. Let's set it in the PTE. > > Signed-off-by: Christophe Leroy > --- > Changes in v2: > - None > > Changes in v3: > - Removed PPC405 related macro from PPC8xx specific code > - PTE_NONE