WSL2-Linux-Kernel/arch/ppc/platforms/4xx
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
..
xparameters [POWERPC] Add sane defaults for Xilinx EDK generated xparameters files 2007-04-30 11:02:04 +10:00
Kconfig [POWERPC] Rework Kconfig dependancies for Xilinx Virtex ppc405 platform 2007-04-30 11:02:04 +10:00
Makefile [POWERPC] Stop using ppc_sys for Xilinx Virtex boards 2007-04-30 11:02:04 +10:00
bamboo.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
bamboo.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
bubinga.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
bubinga.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpci405.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
cpci405.h Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ebony.c [POWERPC] 4xx: Fix 4xx flush_tlb_page() 2007-11-01 07:15:09 -05:00
ebony.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ep405.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
ep405.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm405ep.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm405ep.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm405gp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm405gp.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm405gpr.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm405gpr.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm440ep.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440ep.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm440gp.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440gp.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm440gx.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440gx.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm440sp.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440sp.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibmnp405h.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibmnp405h.h [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
ibmstb4.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibmstb4.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibmstbx25.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibmstbx25.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
luan.c [POWERPC] allocation fix in ppc/platforms/4xx/luan.c 2007-11-01 07:14:09 -05:00
luan.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ocotea.c [POWERPC] 4xx: Fix 4xx flush_tlb_page() 2007-11-01 07:15:09 -05:00
ocotea.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc440spe.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc440spe.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
redwood5.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
redwood5.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
redwood6.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
redwood6.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
sycamore.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
sycamore.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
taishan.c [POWERPC] 4xx: Fix 4xx flush_tlb_page() 2007-11-01 07:15:09 -05:00
taishan.h [POWERPC] ppc: Add support for AMCC Taishan 440GX eval board 2007-02-13 15:35:52 +11:00
virtex.h [POWERPC] Don't define a custom bd_t for Xilixn Virtex based boards. 2007-04-30 11:02:04 +10:00
walnut.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
walnut.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
xilinx_ml300.c [POWERPC] Stop using ppc_sys for Xilinx Virtex boards 2007-04-30 11:02:04 +10:00
xilinx_ml403.c [POWERPC] Stop using ppc_sys for Xilinx Virtex boards 2007-04-30 11:02:04 +10:00
yucca.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
yucca.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00