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>
References:  <CAJ-Vmon-2ObHZd5QG9jM=6nK4E4wGwBYG5L4qcrnUV_ya_g=oQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
So why are there three entries for things in kseg0?

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

and why are there two entries for 0xc0108000?

	=95 #5      =3D> ffffffffc0108000
	=95  Lo0    1b147   (0x6c5000)
	=95  Lo1    177c7   (0x5df000)
	=95 #29     =3D> ffffffffc0108000
	=95  Lo0    1b147   (0x6c5000)
	=95  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,
>=20
> 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.
>=20
> An example TLB list:
>=20
> http://pastebin.ca/2423778
>=20
> Now, I think it's something in MipsDoTLBMiss or
> MipsTLBInvalidException in exception.S.
>=20
> I'm out of my depth here. Could I please get some help in figuring out
> what's going on?
>=20
> Thanks!
>=20
>=20
> -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"




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