android_kernel_xiaomi_sm7250/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
bseip.h
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
cpci690.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpci690.h
est8260.h
ev64260.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
ev64260.h
ev64360.c [POWERPC] Remove redundant reference to non-existent CONFIG_BOOTIMG 2007-10-09 21:02:00 +10:00
ev64360.h
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
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
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
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
Makefile [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10: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_setup.c [PPC] Fix compilation and linking errors of mpc885ads build. 2007-04-12 12:38:09 -05:00
mpc885ads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02: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_pci.c
pal4_serial.h
pal4_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pal4.h
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_pd.h [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
pq2ads.c
pq2ads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02: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
residual.c
rpx8260.h
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
sbc82xx.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
sbc82xx.h
sbs8260.h
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_setup.c
tqm8260.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00