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

next in thread | previous in thread | raw e-mail | index | archive | help
And that's the question.

Hence why I shipped you an AR9344 mips74k board. :-)



-adrian

On 9 July 2013 22:26, Warner Losh <imp@bsdimp.com> wrote:
> 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,
>>
>> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmonse0BEmkCrV0XngedHHyiy-t3rPErA-Eb31GRpGQpUsQ>