From owner-freebsd-mips@FreeBSD.ORG Wed Jun 30 21:12:47 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D436D106564A for ; Wed, 30 Jun 2010 21:12:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8151D8FC15 for ; Wed, 30 Jun 2010 21:12:47 +0000 (UTC) Received: by iwn9 with SMTP id 9so1542015iwn.13 for ; Wed, 30 Jun 2010 14:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=/AonczMnLVFbo1krSqG2njF4bmNl2uFf6S8buRmL0/E=; b=Vq3lQpxkR+NeWB/z1JV2lg/S39KnhOBgQrRaBp4q3fEcM/07ZMcOKDNIUYDYvgs2Bx HSuBYcNp5KAapd185GGTvuIn4ilvqm6cWfAx4koI+UYy5TM/0th5tv/a3XobzPLTD8zS 0iAhbE/Mqx7kInkbAp45Yu6HQP6XT/SMB71l8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Mk3sqMTgvIsEEr1+I6HkX2iheZgKpQ5bFaAVHPDoYz3vEVxfQKLXYI5UIIGjuQI3jC jwnaYzPklOLYlvBi3qpWWrU3ZF4g0W8655di/zA/durlGq/BnE9+IqtSg7G4/LcY996D O63xvMU+SDczdI8EBPSqbkYH4GFDxu949eDOs= MIME-Version: 1.0 Received: by 10.231.30.129 with SMTP id u1mr7512302ibc.63.1277932366559; Wed, 30 Jun 2010 14:12:46 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.231.152.3 with HTTP; Wed, 30 Jun 2010 14:12:46 -0700 (PDT) In-Reply-To: References: <897604F6-95C4-49A8-B11F-277A74C8DBAE@gmail.com> <3C0AEF9B-AE0C-4459-A4E1-2C8C30C10FD6@gmail.com> <25B9A19D-0A6B-4731-8FB1-A2C6722F0E9C@gmail.com> Date: Thu, 1 Jul 2010 05:12:46 +0800 X-Google-Sender-Auth: JkMj-ClStSgi2SdveY5L0FGR6ME Message-ID: From: Adrian Chadd To: "Jayachandran C." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: Merging 64 bit changes to -HEAD X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 21:12:47 -0000 On 30 June 2010 20:57, Jayachandran C. wrote: >> So hopefully you are on the right track and this may be something obviou= s to you. > > Not yet :) I really hoped the earlier change would fix it. =A0The number > of nop does not seem to be the issue as it is higher in the C code > than the assembly. > > Can you try the attached patch (try.diff) - this re-implements the > assembly code functionality almost in the same way in C. =A0This really > should work, given that the patch which made it assembly worked... > > If that works can you see if the second attached patch works, this > fixes a potential problem (ie, we should be masking 13bits for TLBHI). > > Both patches should apply directly to SVN (not dependent on each > other, or on previous patches) I've applied try.diff (and usb_rspro.diff) to -current and have successfully booted a kernel on an rspro board. I'll do some test port building and report back any issues. Adrian