mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
microblaze: Invalidate dcache before enabling it
We found that on write-trough kernel is necessary to do that invalidation. One WB is possible to use invalidation too. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
6339204ecc
commit
a601341111
@ -54,6 +54,7 @@ void __init setup_arch(char **cmdline_p)
|
||||
|
||||
microblaze_cache_init();
|
||||
|
||||
invalidate_dcache();
|
||||
enable_dcache();
|
||||
|
||||
invalidate_icache();
|
||||
|
Loading…
Reference in New Issue
Block a user