Linux MIPS Architecture development
 help / color / mirror / Atom feed
* rm7k
@ 2001-10-26 22:00 Pete Popov
  0 siblings, 0 replies; only message in thread
From: Pete Popov @ 2001-10-26 22:00 UTC (permalink / raw)
  To: linux-mips

Ralf,

tlb-r4k.c is used for the rm7k, but this piece in probe_tlb() fails:

if (!(config & (1 << 31)))
     /* 
      * Not a MIPS32 complianant CPU.  Config 1 register not
      * supported, we assume R4k style.  Cpu probing already figured
      * out the number of tlb entries.
      */
      return;


Bit 31 on the rm7k indicates whether or not scache is present. If scache
is not present (disabled), the above test passes and we end up reading
config1, which doesn't exist, so we setup the tlbsize to a bogus value.

Pete

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-26 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-26 22:00 rm7k Pete Popov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox