linux_dsm_epyc7002/arch/powerpc
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
..
boot [PATCH] ppc boot: replace string labels with numbers 2005-11-18 13:18:16 +11:00
configs powerpc: Move defconfig over and remove remaining arch/ppc64 files 2005-11-18 16:39:08 +11:00
kernel [PATCH] kprobes: Fix return probes on sys_execve 2005-11-23 16:08:39 -08:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] powerpc: fix for hugepage areas straddling 4GB boundary 2005-11-23 16:08:39 -08:00
oprofile [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
platforms powerpc: Fix bug in timebase synchronization on 32-bit SMP powermac 2005-11-19 21:24:55 +11:00
sysdev [PATCH] powerpc: Fix setting MPIC priority 2005-11-19 14:19:13 +11:00
xmon [PATCH] powerpc-xmon-build-fix 2005-11-13 18:14:13 -08:00
Kconfig [PATCH] Remove SPAN_OTHER_NODES config definition 2005-11-18 14:45:54 +11:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile powerpc: Move defconfig over and remove remaining arch/ppc64 files 2005-11-18 16:39:08 +11:00