android_kernel_xiaomi_sm8350/arch/powerpc
David Gibson 23ed6cb9a2 [PATCH] powerpc: Fix SLB flushing path in hugepage
On ppc64, when opening a new hugepage region, we need to make sure any
old normal-page SLBs for the area are flushed on all CPUs.  There was
a bug in this logic - after putting the new hugepage area masks into
the thread structure, we copied it into the paca (read by the SLB miss
handler) only on one CPU, not on all.  This could cause incorrect SLB
entries to be loaded when a multithreaded program was running
simultaneously on several CPUs.  This patch corrects the error,
copying the context information into the PACA on all CPUs using the mm
in question before flushing any existing SLB entries.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-12-09 16:57:35 +11: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] powerpc: Set cache info defaults 2005-12-09 15:42:52 +11:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] powerpc: Fix SLB flushing path in hugepage 2005-12-09 16:57:35 +11:00
oprofile [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
platforms [PATCH] powerpc: Remove debug code in hash path 2005-12-08 16:57:47 +11:00
sysdev [PATCH] powerpc: update my email address 2005-11-23 21:23:20 +11:00
xmon [PATCH] powerpc-xmon-build-fix 2005-11-13 18:14:13 -08:00
Kconfig [PATCH] powerpc: correct the NR_CPUS description text 2005-12-02 14:51:35 +11:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [PATCH] powerpc: remove arch/powerpc/include hack for 64 bit 2005-11-25 22:11:23 +11:00