Re: [PATCH] powerpc: Fix ioremap_flags() with book3e pte definition

2010-06-02 Thread Greg KH
On Wed, Jun 02, 2010 at 04:59:16PM -0500, Kumar Gala wrote: > > On May 24, 2010, at 1:38 PM, Kumar Gala wrote: > > > From: Benjamin Herrenschmidt > > > > We can't just clear the user read permission in book3e pte, because > > that will also clear supervisor read permission. This surely isn't >

Re: [PATCH] powerpc: Fix ioremap_flags() with book3e pte definition

2010-06-02 Thread Kumar Gala
On May 24, 2010, at 1:38 PM, Kumar Gala wrote: > From: Benjamin Herrenschmidt > > We can't just clear the user read permission in book3e pte, because > that will also clear supervisor read permission. This surely isn't > desired. Fix the problem by adding the supervisor read back. > > BenH:

[PATCH] powerpc: Fix ioremap_flags() with book3e pte definition

2010-05-24 Thread Kumar Gala
From: Benjamin Herrenschmidt We can't just clear the user read permission in book3e pte, because that will also clear supervisor read permission. This surely isn't desired. Fix the problem by adding the supervisor read back. BenH: Slightly simplified the ifdef and applied to ppc64 too Signed-

Re: [PATCH] powerpc: fix ioremap_flags() with book3e pte definition

2010-05-14 Thread Kumar Gala
On Feb 7, 2010, at 10:21 PM, Benjamin Herrenschmidt wrote: > On Fri, 2010-02-05 at 00:53 +0800, Li Yang wrote: >> We can't just clear the user read permission in book3e pte, because >> that will also clear supervisor read permission. This surely isn't >> desired. Fix the problem by adding the s

Re: [PATCH] powerpc: fix ioremap_flags() with book3e pte definition

2010-02-07 Thread Benjamin Herrenschmidt
On Fri, 2010-02-05 at 00:53 +0800, Li Yang wrote: > We can't just clear the user read permission in book3e pte, because > that will also clear supervisor read permission. This surely isn't > desired. Fix the problem by adding the supervisor read back. > > Signed-off-by: Li Yang > --- > arch/po

[PATCH] powerpc: fix ioremap_flags() with book3e pte definition

2010-02-04 Thread Li Yang
We can't just clear the user read permission in book3e pte, because that will also clear supervisor read permission. This surely isn't desired. Fix the problem by adding the supervisor read back. Signed-off-by: Li Yang --- arch/powerpc/mm/pgtable_32.c |5 + 1 files changed, 5 insertion