Re: [v2 PATCH 1/2] powerpc32: adds handling of _PAGE_RO

2014-12-22 Thread leroy christophe
Le 18/12/2014 03:14, Scott Wood a écrit : On Wed, 2014-12-17 at 10:14 +0100, Christophe Leroy wrote: Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read Only) bit. This patch implements the handling of a _PAGE_RO flag to be used in place of _PAGE_RW Signed-off-by: Christ

Re: [v2 PATCH 1/2] powerpc32: adds handling of _PAGE_RO

2014-12-18 Thread Scott Wood
On Thu, 2014-12-18 at 08:11 +0100, leroy christophe wrote: > Le 18/12/2014 03:14, Scott Wood a écrit : > > On Wed, 2014-12-17 at 10:14 +0100, Christophe Leroy wrote: > >> Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read > >> Only) bit. > >> This patch implements the handlin

Re: [v2 PATCH 1/2] powerpc32: adds handling of _PAGE_RO

2014-12-17 Thread leroy christophe
Le 18/12/2014 03:14, Scott Wood a écrit : On Wed, 2014-12-17 at 10:14 +0100, Christophe Leroy wrote: Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read Only) bit. This patch implements the handling of a _PAGE_RO flag to be used in place of _PAGE_RW Signed-off-by: Christ

Re: [v2 PATCH 1/2] powerpc32: adds handling of _PAGE_RO

2014-12-17 Thread Scott Wood
On Wed, 2014-12-17 at 10:14 +0100, Christophe Leroy wrote: > Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read > Only) bit. > This patch implements the handling of a _PAGE_RO flag to be used in place of > _PAGE_RW > > Signed-off-by: Christophe Leroy > > --- > v2 is a com

[v2 PATCH 1/2] powerpc32: adds handling of _PAGE_RO

2014-12-17 Thread Christophe Leroy
Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read Only) bit. This patch implements the handling of a _PAGE_RO flag to be used in place of _PAGE_RW Signed-off-by: Christophe Leroy --- v2 is a complete rework compared to v1 arch/powerpc/include/asm/pgtable-ppc32.h | 11 +