On Fri, Mar 04, 2016 at 10:32:01PM +0000, Miod Vallat wrote: > > > SH4 CPUs with EMODE bit set have a cache twice as big. Fix the obvious > > copy&paste mistake. > > There is nothing to fix in these routines. > > When EMODE is enabled, the cache becomes two way, instead of one way, > which is why it becomes twice as big. > > sh4_emode_icache_sync_all() and sh4_emode_dcache_wbinv_all() wrap > cache_sh4_emode_op_8lines_32(), which will operate on both ways. >
Ouch, that's a pretty mean trap :/ Sorry for the noise
