From owner-freebsd-mips@FreeBSD.ORG Wed Jul 10 04:51:16 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 764102A3 for ; Wed, 10 Jul 2013 04:51:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) by mx1.freebsd.org (Postfix) with ESMTP id 41E7F1276 for ; Wed, 10 Jul 2013 04:51:16 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id n20so3334965qaj.6 for ; Tue, 09 Jul 2013 21:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=CQEvw6IZwi4+BVoDkfoZmGD6TJqhrA7h1OGGownwC/A=; b=pTdcSxygdkVxsTvb5ubpQq6WcnXzRPsJBZ5AMbLvypMAamyeVAmfjWZOzft7liZBOZ DlterNrhh4GRZzkzxq6FZpOiAaH7Ulo6iN8b2i0+c8mzxE+fmaLQ49u15qh/g6RcpNGm w5KHF+aDT95Ttbd61bWhEV1DK7qN/kygoH1Xgl/yzhHou55FWz32VQgpuWflmVLPFuF6 iG65kQs9NBY4xbBvKrja5KoiVEEOpF9otft2iT9f/iLOA001ogcKoF0fmEph1eeSC196 CcW+Cpq4QmK7DSGbPpxDSiB3oA3RndrP8o4HYNZVLkyGpYfSjAMa2jWebo27orRU4MUJ tg8A== MIME-Version: 1.0 X-Received: by 10.224.13.19 with SMTP id z19mr26597719qaz.12.1373431875470; Tue, 09 Jul 2013 21:51:15 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Tue, 9 Jul 2013 21:51:15 -0700 (PDT) Date: Tue, 9 Jul 2013 21:51:15 -0700 X-Google-Sender-Auth: V2PrhGc0dQXNgaVqX1EV5qaQTV8 Message-ID: Subject: mips74k and duplicate TLB entries From: Adrian Chadd To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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 04:51:16 -0000 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