original_kernel/arch
Benjamin Herrenschmidt e701d269aa [POWERPC] 4xx: Fix 4xx flush_tlb_page()
On 4xx CPUs, the current implementation of flush_tlb_page() uses
a low level _tlbie() assembly function that only works for the
current PID. Thus, invalidations caused by, for example, a COW
fault triggered by get_user_pages() from a different context will
not work properly, causing among other things, gdb breakpoints
to fail.

This patch adds a "pid" argument to _tlbie() on 4xx processors,
and uses it to flush entries in the right context. FSL BookE
also gets the argument but it seems they don't need it (their
tlbivax form ignores the PID when invalidating according to the
document I have).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2007-11-01 07:15:09 -05:00
..
alpha
arm Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
avr32
blackfin Blackfin arch: reclaim a few bytes from the end of our init section 2007-10-30 12:00:02 +08:00
cris
frv scatterlist fallout: frv 2007-10-27 22:18:11 -07:00
h8300 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
ia64 [IA64] Fix incorrect return value from ia64_setup_msi_irq() 2007-10-30 09:54:47 -07:00
m32r
m68k m68k: sg fallout 2007-10-24 08:55:40 +02:00
m68knommu m68knommu: mark mem init functions as __init 2007-10-23 20:45:44 -07:00
mips [MIPS] tb0219: Update copyright message. 2007-10-29 19:35:37 +00:00
parisc
powerpc [POWERPC] 4xx: Fix 4xx flush_tlb_page() 2007-11-01 07:15:09 -05:00
ppc [POWERPC] 4xx: Fix 4xx flush_tlb_page() 2007-11-01 07:15:09 -05:00
s390 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
sh
sh64 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
sparc [SPARC32]: Fix build-warning in io-unit.c 2007-10-27 00:54:14 -07:00
sparc64 [SPARC64]: __inline__ --> inline 2007-10-27 00:13:04 -07:00
um misc uml annotation and section fixes 2007-10-29 07:41:32 -07:00
v850
x86 Remove bogus default y for DMAR and NET_DMA 2007-10-30 08:06:55 -07:00
xtensa Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00