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

Kumar Gala galak at kernel.crashing.org
Thu Jun 3 07:59:16 EST 2010


On May 24, 2010, at 1:38 PM, Kumar Gala wrote:

> From: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> 
> 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-off-by: Li Yang <leoli at freescale.com>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
> For 2.6.34 stable commit 55052eeca6d71d76f7c3f156c0501814d8e5e6d3
> 
> arch/powerpc/mm/pgtable_32.c |    8 ++++++++
> arch/powerpc/mm/pgtable_64.c |    8 ++++++++
> 2 files changed, 16 insertions(+), 0 deletions(-)

Wondering what happened to this patch (and 2 other) getting into stable queue for .34.x

- k


More information about the Linuxppc-dev mailing list