From owner-freebsd-mips@FreeBSD.ORG Wed Jul 10 05:58:21 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0A33FD9 for ; Wed, 10 Jul 2013 05:58:21 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id D96F31628 for ; Wed, 10 Jul 2013 05:58:20 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id uo1so6306767pbc.31 for ; Tue, 09 Jul 2013 22:58:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=tc+A/f4JXN04ytViz/hChWYd34kJwCq7YDITwGz/i6I=; b=dnckDggdcGGJSEpm8N8CnqNxLxT98zLPVaWCeTw7Y8de4sYz0PCnE28yU488p7iey5 oYoKzJZtFyU6z6tUMh5BfbuhIEfzHPmZA98TK7QG9p3LjvuzMsZrqeNLlnP5ArH2X7Wu kwzkORX0ZvRgNj6cykCJADLVuWXzWag+XX7YUAL8dYyFbdD9msn0JbxRIWMqsm1fflIm 9NU1qjwnPAh1P4TG2m1AJ3Cjwm/ffHniVII7x3w7Mdk7N3mnWBbxyckHJ0kQi8pYQAKr kLJoS8KRxt3YWvmSKJLxNKyEftxqzgn8UyWWnPW9KFVnMNvImPXm2+ST1tyiQrj1kOkB +IDA== X-Received: by 10.68.138.131 with SMTP id qq3mr29936989pbb.10.1373434015958; Tue, 09 Jul 2013 22:26:55 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id ep4sm4316229pbd.35.2013.07.09.22.26.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 22:26:54 -0700 (PDT) Sender: Warner Losh Subject: Re: mips74k and duplicate TLB entries Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 From: Warner Losh In-Reply-To: Date: Tue, 9 Jul 2013 23:26:52 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlAHwmvwlQmGzPVl6H2iEVfivMTv3HSuOdiVI6X+r2ZfxiH3aCs93aFdK0zAUyudh/fw637 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: Wed, 10 Jul 2013 05:58:21 -0000 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"