rm7k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux