From: Michal Simek Date: Mon, 1 Feb 2010 11:15:58 +0000 (+0100) Subject: microblaze: Invalidate dcache before enabling it X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a6013411118a6c8c34f1bd8b047b36fdf9711590;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index 5372b24ad049..bb8c4b9ccb80 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c @@ -54,6 +54,7 @@ void __init setup_arch(char **cmdline_p) microblaze_cache_init(); + invalidate_dcache(); enable_dcache(); invalidate_icache();