]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: mm: BMIPS5000 has inclusive physical caches
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 19 Aug 2020 18:26:44 +0000 (11:26 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 21 Aug 2020 07:28:43 +0000 (09:28 +0200)
commit512156579440b115b48ce20092095280d46fc039
tree41121a4e3c5770976ac2dfcc4f882ae54f144ff5
parent9582eaa42d74a946ca8631934d6192227f0e3135
MIPS: mm: BMIPS5000 has inclusive physical caches

When the BMIPS generic cpu-feature-overrides.h file was introduced,
cpu_has_inclusive_caches/MIPS_CPU_INCLUSIVE_CACHES was not set for
BMIPS5000 CPUs. Correct this when we have initialized the MIPS secondary
cache successfully.

Fixes: 924386b95cb4 ("MIPS: BMIPS: Add cpu-feature-overrides.h")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/mm/c-r4k.c