[MIPS] Sibyte: Replace SB1 cachecode with standard R4000 class cache code.
It may not be perfect yet but the SB1 code is badly borken and has horrible performance issues. Downside: This seriously breaks support for pass 1 parts of the BCM1250 where indexed cacheops don't work quite reliable but I seem to be the last one on the planet with a pass 1 part anyway. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -746,14 +746,6 @@ static inline void cpu_probe_sibyte(struct cpuinfo_mips *c)
|
||||
{
|
||||
decode_configs(c);
|
||||
|
||||
/*
|
||||
* For historical reasons the SB1 comes with it's own variant of
|
||||
* cache code which eventually will be folded into c-r4k.c. Until
|
||||
* then we pretend it's got it's own cache architecture.
|
||||
*/
|
||||
c->options &= ~MIPS_CPU_4K_CACHE;
|
||||
c->options |= MIPS_CPU_SB1_CACHE;
|
||||
|
||||
switch (c->processor_id & 0xff00) {
|
||||
case PRID_IMP_SB1:
|
||||
c->cputype = CPU_SB1;
|
||||
|
Reference in New Issue
Block a user