| To: | linux-mips <linux-mips@oss.sgi.com> |
|---|---|
| Subject: | rm7k |
| From: | Pete Popov <ppopov@mvista.com> |
| Date: | 26 Oct 2001 15:00:53 -0700 |
| Sender: | owner-linux-mips@oss.sgi.com |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] exporting PCI dma functions., James Simmons |
|---|---|
| Next by Date: | Re: Origin 200, nick |
| Previous by Thread: | MIPS 32bit and 64bit mode, han han |
| Next by Thread: | PATCH: pci_auto bridge support, Bradley D. LaRonde |
| Indexes: | [Date] [Thread] [Top] [All Lists] |