]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BMIPS: local_r4k___flush_cache_all needs to blast S-cache
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 4 Apr 2016 17:55:36 +0000 (10:55 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:07 +0000 (14:02 +0200)
commit17e3c39d99715041e9cf50ea7d76f78f27a09200
tree286abe58685334ae877e41779027d885c8597e43
parentc74a6eb8fb0a43efd0a02976fc7b406071599020
MIPS: BMIPS: local_r4k___flush_cache_all needs to blast S-cache

local_r4k___flush_cache_all() is missing a special check for BMIPS5000
processors, we need to blast the S-cache, just like other MTI processors
since we have an inclusive cache. We also need an additional __sync() to
make sure this is completed.

Fixes: 9ce38b5228d6f ("MIPS: BMIPS: Add special cache handling in c-r4k.c")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13012/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c