Subject: handler_tlb[lsm] not flushed explicitly

From: Atsushi Nemoto <[email-masked]>
Date: Mon, 12 Sep 2005 11:36:17 +0900 (JST)

>>>>> On Fri, 15 Jul 2005 16:23:23 +0100, [email-masked] said:
ralf> Modified files:
ralf> 	arch/mips/mm   : c-r4k.c c-tx39.c pg-r4k.c tlbex.c 

ralf> Log message:
ralf> 	Avoid SMP cacheflushes.  This is a minor optimization of startup but
ralf> 	will also avoid smp_call_function from doing stupid things when called
ralf> 	from a CPU that is not yet marked online.

This change removed some flush_icache_range() from tlbex.c.  Now the
refill handler is flushed by last flush_icache_range() in trap_init(),
but it seems handle_tlbl[], handle_tlbs[], handle_tlbm[] are not
explicitly flushed to main memory.

We should call __flush_cache_all() instead of flush_icache_range() in
 trap_init() ?

---
Atsushi Nemoto