OpenCloudOS-Kernel/arch/ppc/platforms
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
..
4xx [POWERPC] 4xx: Fix 4xx flush_tlb_page() 2007-11-01 07:15:09 -05:00
83xx [PATCH] Slight refactor of interrupt mapping for FSL parts 2006-11-13 14:48:52 +11:00
85xx serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
Makefile [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10:00
bseip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ccm.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
chestnut.c define global BIT macro 2007-10-19 11:53:42 -07:00
chestnut.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
cpci690.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpci690.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
est8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev64260.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
ev64260.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ev64360.c [POWERPC] Remove redundant reference to non-existent CONFIG_BOOTIMG 2007-10-09 21:02:00 +10:00
ev64360.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
fads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
hdpu.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
hdpu.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
hermes.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ip860.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ivms8.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
katana.c [POWERPC] Remove redundant reference to non-existent CONFIG_BOOTIMG 2007-10-09 21:02:00 +10:00
katana.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
lantec.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lite5200.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lite5200.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
lopec.c [PATCH] Dynamic kernel command-line: ppc 2007-02-12 09:48:39 -08:00
lopec.h fix file specification in comments 2006-10-03 23:01:26 +02:00
lwmon.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mbx.h [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
mpc866ads_setup.c fix file specification in comments 2007-05-09 08:58:16 +02:00
mpc885ads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mpc885ads_setup.c [PPC] Fix compilation and linking errors of mpc885ads build. 2007-04-12 12:38:09 -05:00
mpc8272ads_setup.c [PPC] MPC8272 ADS compile fixed, defconfig refreshed. 2007-04-12 12:36:45 -05:00
mvme5100.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mvme5100.h [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
pal4.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
pal4_pci.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
pal4_serial.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
pal4_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pcu_e.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
powerpmc250.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
powerpmc250.h fix file specification in comments 2006-10-03 23:01:26 +02:00
pplus.c [PATCH] Dynamic kernel command-line: ppc 2007-02-12 09:48:39 -08:00
pplus.h [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
pq2ads.c [PATCH] ppc32: Update board-specific code of the CPM UART users 2006-04-28 21:11:30 +10:00
pq2ads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pq2ads_pd.h [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
prep_pci.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
prep_setup.c [POWERPC] Abolish unused ucBoardRev variables 2007-06-28 19:19:29 +10:00
prpmc750.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
prpmc750.h [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
prpmc800.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
prpmc800.h fix file specification in comments 2006-10-03 23:01:26 +02:00
radstone_ppc7d.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
radstone_ppc7d.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
residual.c [PATCH] powerpc: Remove sections use from ppc 2005-09-19 09:38:49 +10:00
rpx8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxclassic.h [POWERPC] Remove the unused HTDMSOUND driver 2007-04-30 11:02:05 +10:00
rpxlite.h [POWERPC] Remove the unused HTDMSOUND driver 2007-04-30 11:02:05 +10:00
sandpoint.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
sandpoint.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
sbc82xx.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
sbc82xx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbs8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spruce.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
spruce.h fix file specification in comments 2006-10-03 23:01:26 +02:00
tqm8xx.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tqm8260.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tqm8260_setup.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00