From owner-freebsd-mips@FreeBSD.ORG Fri Jul 12 18:27:18 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 21633349 for ; Fri, 12 Jul 2013 18:27:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by mx1.freebsd.org (Postfix) with ESMTP id B08741772 for ; Fri, 12 Jul 2013 18:27:17 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id hq4so997476wib.12 for ; Fri, 12 Jul 2013 11:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2GJOKQBhAdeZi96bmqZ2MPs5Sb7cyip5qaJWzX3Fd7Y=; b=rG5P6Ca5EfrPis8zhpO52teiZJ23CtehHXkM/Pv4uKRz54+Xwe7lPLAcYjnunMjgIc NpyRfrrD+XdoscIwiA6cYEVgj4ldjUVzsLmWeny0ojPNeWSZb6ZQAo7cy+zY/zp8AqT3 4jOcMDo3naXRMhbWfAUoGu10j87FEL3JhIZD7YfkhHk2aBHpUpDd0UhJ2SrzD2cy1xx9 WsMYGwSMmRAIOd8i3tenKqQEMgBup+uf/QwBC3zR6ikz0pB8FAiCnYo0mVNEDI0lzilq KXTRrEkPyH9sIQIYVyNYvNZ/3poPYmT27KmmxRc9o9Eau0MKp4GlkcSOa0JOJZJNdgp0 kCpQ== MIME-Version: 1.0 X-Received: by 10.194.240.201 with SMTP id wc9mr24998372wjc.1.1373653636578; Fri, 12 Jul 2013 11:27:16 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Fri, 12 Jul 2013 11:27:16 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jul 2013 11:27:16 -0700 X-Google-Sender-Auth: HREjRwkfGtsH3Zg-mbOG6tIp54E Message-ID: Subject: Re: mips74k and duplicate TLB entries From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 18:27:18 -0000 And that's the question. Hence why I shipped you an AR9344 mips74k board. :-) -adrian On 9 July 2013 22:26, Warner Losh 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" >