linux/arch/ppc/mm
Benjamin Herrenschmidt b98ac05d5e [POWERPC] 4xx: Deal with 44x virtually tagged icache
The 44x family has an interesting "feature" which is a virtually
tagged instruction cache (yuck !). So far, we haven't dealt with
it properly, which means we've been mostly lucky or people didn't
report the problems, unless people have been running custom patches
in their distro...

This is an attempt at fixing it properly. I chose to do it by
setting a global flag whenever we change a PTE that was previously
marked executable, and flush the entire instruction cache upon
return to user space when that happens.

This is a bit heavy handed, but it's hard to do more fine grained
flushes as the icbi instruction, on those processor, for some very
strange reasons (since the cache is virtually mapped) still requires
a valid TLB entry for reading in the target address space, which
isn't something I want to deal with.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2007-11-01 07:15:30 -05:00
..
4xx_mmu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
44x_mmu.c [POWERPC] 4xx: Deal with 44x virtually tagged icache 2007-11-01 07:15:30 -05:00
fault.c [POWERPC] 4xx: Fix 4xx flush_tlb_page() 2007-11-01 07:15:09 -05:00
fsl_booke_mmu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
hashtable.S [PPC] Fix COMMON symbol warnings 2007-05-23 00:17:44 -05:00
init.c [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
Makefile
mem_pieces.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mem_pieces.h
mmu_context.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mmu_decl.h [POWERPC] 4xx: Fix 4xx flush_tlb_page() 2007-11-01 07:15:09 -05:00
pgtable.c [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10:00
ppc_mmu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tlb.c [PPC] Add linux/pagemap.h to arch/ppc/mm/tlb.c 2007-07-10 00:33:07 -05:00