Re: do_bootm() and flush_cache() From: Scott
McNutt <smcnutt@ps...> - 2005-03-23 18:56 |
>>But after reviewing do_bootm(), I don"t see where the >>caches are flushed. A call to flush_cache() after >>moving/decompressing the image seems appropriate, but > > > Why? After the move/decompression, the data cache must be flushed to main memory ... otherwise an instruction cache miss (after jumping into the kernel) may read in a (potentially) stale line. (Neither cache can be disabled.) Regards, --Scott |