Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2013 23:26:52 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: mips74k and duplicate TLB entries
Message-ID:  <C607DDCE-E78A-4CB2-9FD6-141CBC04CFB7@bsdimp.com>
In-Reply-To: <CAJ-Vmon-2ObHZd5QG9jM=6nK4E4wGwBYG5L4qcrnUV_ya_g=oQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

So why are there three entries for things in kseg0?

	• #1      => ffffffff80000000
	•  Lo0    0       (0)
	•  Lo1    17747   (0x5dd000)
	• #4      => ffffffff80006000
	•  Lo0    0       (0)
	•  Lo1    1       (0)
	• #12     => ffffffff80016000
	•  Lo0    0       (0)
	•  Lo1    173c7   (0x5cf000)
	• #14     => ffffffff8001a000
	•  Lo0    0       (0)
	•  Lo1    7d087   (0x1f42000)
	• #19     => ffffffff80024000
	•  Lo0    0       (0)
	•  Lo1    16947   (0x5a5000)
	• #22     => ffffffff8002a000
	•  Lo0    0       (0)
	•  Lo1    17007   (0x5c0000)
	• #31     => ffffffff8003c000
	•  Lo0    0       (0)
	•  Lo1    16f87   (0x5be000)

and why are there two entries for 0xc0108000?

	• #5      => ffffffffc0108000
	•  Lo0    1b147   (0x6c5000)
	•  Lo1    177c7   (0x5df000)
	• #29     => ffffffffc0108000
	•  Lo0    1b147   (0x6c5000)
	•  Lo1    16b47   (0x5ad000)

to two different PFNs no less, at least for the upper page?

Warner

On Jul 9, 2013, at 10:51 PM, Adrian Chadd wrote:

> Hi all,
> 
> I've started bringing up FreeBSD-HEAD on the AR9344 which is a MIPS
> 74k core. It panics shortly after boot, in the invalidation code.
> We've traced it down thus far to duplicate entries in the TLB.
> 
> An example TLB list:
> 
> http://pastebin.ca/2423778
> 
> Now, I think it's something in MipsDoTLBMiss or
> MipsTLBInvalidException in exception.S.
> 
> I'm out of my depth here. Could I please get some help in figuring out
> what's going on?
> 
> Thanks!
> 
> 
> -adrian
> _______________________________________________
> freebsd-mips@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C607DDCE-E78A-4CB2-9FD6-141CBC04CFB7>