microblaze: Label MB 7.20.d as broken with WB cache
authorMichal Simek <monstr@monstr.eu>
Mon, 31 May 2010 19:16:30 +0000 (21:16 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 9 Mar 2011 07:09:55 +0000 (08:09 +0100)
MB version 7.20.d contains fault which is related with WB that's why
error message will be shown.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/cpu/cache.c

index 109876e..8cf0828 100644 (file)
@@ -624,7 +624,7 @@ void microblaze_cache_init(void)
                if (cpuinfo.dcache_wb) {
                        INFO("wb_msr");
                        mbc = (struct scache *)&wb_msr;
-                       if (cpuinfo.ver_code < CPUVER_7_20_D) {
+                       if (cpuinfo.ver_code <= CPUVER_7_20_D) {
                                /* MS: problem with signal handling - hw bug */
                                INFO("WB won't work properly");
                        }
@@ -641,7 +641,7 @@ void microblaze_cache_init(void)
                if (cpuinfo.dcache_wb) {
                        INFO("wb_nomsr");
                        mbc = (struct scache *)&wb_nomsr;
-                       if (cpuinfo.ver_code < CPUVER_7_20_D) {
+                       if (cpuinfo.ver_code <= CPUVER_7_20_D) {
                                /* MS: problem with signal handling - hw bug */
                                INFO("WB won't work properly");
                        }