e701d269aa
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> |
||
---|---|---|
.. | ||
4xx | ||
83xx | ||
85xx | ||
Makefile | ||
bseip.h | ||
ccm.h | ||
chestnut.c | ||
chestnut.h | ||
cpci690.c | ||
cpci690.h | ||
est8260.h | ||
ev64260.c | ||
ev64260.h | ||
ev64360.c | ||
ev64360.h | ||
fads.h | ||
hdpu.c | ||
hdpu.h | ||
hermes.h | ||
ip860.h | ||
ivms8.h | ||
katana.c | ||
katana.h | ||
lantec.h | ||
lite5200.c | ||
lite5200.h | ||
lopec.c | ||
lopec.h | ||
lwmon.h | ||
mbx.h | ||
mpc866ads_setup.c | ||
mpc885ads.h | ||
mpc885ads_setup.c | ||
mpc8272ads_setup.c | ||
mvme5100.c | ||
mvme5100.h | ||
pal4.h | ||
pal4_pci.c | ||
pal4_serial.h | ||
pal4_setup.c | ||
pcu_e.h | ||
powerpmc250.c | ||
powerpmc250.h | ||
pplus.c | ||
pplus.h | ||
pq2ads.c | ||
pq2ads.h | ||
pq2ads_pd.h | ||
prep_pci.c | ||
prep_setup.c | ||
prpmc750.c | ||
prpmc750.h | ||
prpmc800.c | ||
prpmc800.h | ||
radstone_ppc7d.c | ||
radstone_ppc7d.h | ||
residual.c | ||
rpx8260.h | ||
rpxclassic.h | ||
rpxlite.h | ||
sandpoint.c | ||
sandpoint.h | ||
sbc82xx.c | ||
sbc82xx.h | ||
sbs8260.h | ||
spruce.c | ||
spruce.h | ||
tqm8xx.h | ||
tqm8260.h | ||
tqm8260_setup.c |