kernel-fxtec-pro1x/arch/powerpc/mm
David Gibson 5e391dc9e3 [PATCH] powerpc: fix for hugepage areas straddling 4GB boundary
Commit 7d24f0b8a5 fixed bugs in the ppc64 SLB
miss handler with respect to hugepage handling, and in the process tweaked
the semantics of the hugepage address masks in mm_context_t.

Unfortunately, it left out a couple of necessary changes to go with that
change.  First, the in_hugepage_area() macro was not updated to match,
second prepare_hugepage_range() was not updated to correctly handle
hugepages regions which straddled the 4GB point.

The latter appears only to cause process-hangs when attempting to map such
a region, but the former can cause oopses if a get_user_pages() is
triggered at the wrong point.  This patch addresses both bugs.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-23 16:08:39 -08:00
..
4xx_mmu.c [PATCH] mm: powerpc init_mm without ptlock 2005-11-23 16:08:38 -08:00
44x_mmu.c powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
fault.c [PATCH] powerpc: Nicer printing of address at oops 2005-11-07 12:37:28 +11:00
fsl_booke_mmu.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
hash_low_32.S powerpc: Use reg.h instead of processor.h when we just want reg names 2005-10-10 22:20:10 +10:00
hash_low_64.S [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
hash_native_64.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
hash_utils_64.c [PATCH] powerpc: merge code values for identifying platforms 2005-11-10 13:37:51 +11:00
hugetlbpage.c [PATCH] powerpc: fix for hugepage areas straddling 4GB boundary 2005-11-23 16:08:39 -08:00
imalloc.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
init_32.c powerpc: Move some extern declarations from C code into headers 2005-11-10 15:53:40 +11:00
init_64.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
lmb.c [PATCH] powerpc: Fixup debugging in lmb.c 2005-11-16 13:28:40 +11:00
Makefile [PATCH] powerpc: Some more fixes to allow building for a Book-E processor 2005-10-20 09:43:32 +10:00
mem.c [PATCH] mm: powerpc ptlock comments 2005-11-23 16:08:38 -08:00
mmap.c powerpc: Merge arch/ppc64/mm to arch/powerpc/mm 2005-10-10 21:58:35 +10:00
mmu_context_32.c powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00
mmu_context_64.c powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00
mmu_decl.h [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
numa.c [PATCH] powerpc: Fix sparsemem with memory holes [was Re: ppc64 oops..] 2005-11-15 16:57:12 -08:00
pgtable_32.c powerpc: import a fix from arch/ppc/mm/pgtable.c 2005-10-31 14:40:03 +11:00
pgtable_64.c [PATCH] powerpc: Remove imalloc.h 2005-11-19 14:46:02 +11:00
ppc_mmu_32.c [PATCH] ppc: Fix ppc32 build after 64K pages 2005-11-07 07:53:23 -08:00
slb.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
slb_low.S [PATCH] ppc64: Fix bug in SLB miss handler for hugepages 2005-11-07 07:53:23 -08:00
stab.c [PATCH] powerpc: merge code values for identifying platforms 2005-11-10 13:37:51 +11:00
tlb_32.c [PATCH] mm: powerpc ptlock comments 2005-11-23 16:08:38 -08:00
tlb_64.c [PATCH] mm: powerpc ptlock comments 2005-11-23 16:08:38 -08:00