mips74k and duplicate TLB entries

Warner Losh imp at bsdimp.com
Wed Jul 10 05:58:21 UTC 2013


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"



More information about the freebsd-mips mailing list