From owner-freebsd-mips@FreeBSD.ORG Sun Oct 9 14:47:10 2011 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 EA42E106564A; Sun, 9 Oct 2011 14:47:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F79C8FC14; Sun, 9 Oct 2011 14:47:10 +0000 (UTC) Received: by ggeq3 with SMTP id q3so4840330gge.13 for ; Sun, 09 Oct 2011 07:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=wRdB1FBGgblFeM1kxJcxpPXWKkeuS8s8L8+XM8U3OsQ=; b=CnWlKyHR8t+gUdAebK6xjhpu2kYFtM4HS97AEZfP/iQ3eUJlkPGa8DS+zFSZMLbzu2 6QKsF8dhVE5XSHTeoaepBcKBo1MYRNc7tZqD7js3EtJMVmglcy7+ftS7nFXblXl2qHlY xLpcv2/Z3/jTJ8NESnNfNoewl5cpfBKj4I7ug= MIME-Version: 1.0 Received: by 10.236.197.69 with SMTP id s45mr19227498yhn.54.1318171629905; Sun, 09 Oct 2011 07:47:09 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.111.42 with HTTP; Sun, 9 Oct 2011 07:47:09 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Oct 2011 22:47:09 +0800 X-Google-Sender-Auth: iz5tgKWIJhL0JtWyHGsX2tPlyNo Message-ID: From: Adrian Chadd To: Andrew Duane Content-Type: text/plain; charset=ISO-8859-1 Cc: "Jayachandran C." , Kostik Belousov , Alexander Motin , "freebsd-mips@freebsd.org" Subject: Re: svn commit: r225892 - head/sys/mips/mips 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: Sun, 09 Oct 2011 14:47:11 -0000 On 5 October 2011 01:49, Andrew Duane wrote: > An assert, or some other check would work. Could you just add "EndWaitSkip - StartWaitSkip" somehow? I just worry that some day it won't be 16 bytes any more.... Well, the linux code is 32 bytes rather than 16. And it should be easy to extend the range to 32 bytes instead of 16 bytes. Unfortunately the patch doesn't (yet) work, I'm going to do some more in depth testing next week. Thanks, Adrian From owner-freebsd-mips@FreeBSD.ORG Mon Oct 10 19:59:12 2011 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 5DFBE1065670; Mon, 10 Oct 2011 19:59:12 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from exprod7og114.obsmtp.com (exprod7og114.obsmtp.com [64.18.2.215]) by mx1.freebsd.org (Postfix) with ESMTP id 728798FC0A; Mon, 10 Oct 2011 19:59:08 +0000 (UTC) Received: from P-EMHUB01-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob114.postini.com ([64.18.6.12]) with SMTP; Mon, 10 Oct 2011 12:59:12 PDT Received: from p-emfe02-wf.jnpr.net (172.28.145.25) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server (TLS) id 8.3.83.0; Mon, 10 Oct 2011 12:58:53 -0700 Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe02-wf.jnpr.net ([fe80::c126:c633:d2dc:8090%11]) with mapi; Mon, 10 Oct 2011 15:58:52 -0400 From: Andrew Duane To: Adrian Chadd Date: Mon, 10 Oct 2011 15:58:51 -0400 Thread-Topic: svn commit: r225892 - head/sys/mips/mips Thread-Index: AcyGklSezZN0OmS6Q6yI/tX6hG8UNgA9HHjA Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "Jayachandran C." , Kostik Belousov , Alexander Motin , "freebsd-mips@freebsd.org" Subject: RE: svn commit: r225892 - head/sys/mips/mips 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: Mon, 10 Oct 2011 19:59:12 -0000 I'm not concerned with the size of the code per se. I'm concerned that some= day the code will change and no longer be 16 bytes, but the "16" won't get= changed on the other side. I've seen far too many cases of that over the y= ears. This could be handled by two matching comments, one in each place, or by so= me form of assert that the difference must be 16, or by computing the diffe= rence and using that as the "16". =A0................................... Andrew Duane Juniper Networks o=A0=A0=A0+1 978 589 0551 m=A0 +1 603-770-7088 aduane@juniper.net =A0 > -----Original Message----- > From: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] On Behalf > Of Adrian Chadd > Sent: Sunday, October 09, 2011 7:47 AM > To: Andrew Duane > Cc: Jayachandran C.; Warner Losh; Kostik Belousov; Alexander Motin; > freebsd-mips@freebsd.org > Subject: Re: svn commit: r225892 - head/sys/mips/mips >=20 > On 5 October 2011 01:49, Andrew Duane wrote: > > An assert, or some other check would work. Could you just add > "EndWaitSkip - StartWaitSkip" somehow? I just worry that some day it > won't be 16 bytes any more.... >=20 > Well, the linux code is 32 bytes rather than 16. >=20 > And it should be easy to extend the range to 32 bytes instead of 16 > bytes. >=20 > Unfortunately the patch doesn't (yet) work, I'm going to do some more > in depth testing next week. >=20 > Thanks, >=20 >=20 > Adrian From owner-freebsd-mips@FreeBSD.ORG Wed Oct 12 15:42:19 2011 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 863091065672 for ; Wed, 12 Oct 2011 15:42:19 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 19A9B8FC0A for ; Wed, 12 Oct 2011 15:42:18 +0000 (UTC) Received: by wyj26 with SMTP id 26so1263843wyj.13 for ; Wed, 12 Oct 2011 08:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=4XzRZQ/srzmtXLsckBflsiD0c99TTyWJnhTaho7thyo=; b=MsoA7bu1NB0oqsEOlOs2Odod7R3wp1eUIEZDJQEBY983KS19PNrPLFY3V3bDcFeOdy KcSGyBgPiy/AEKLrPi5DREsrZeCFjmuztIQne3UWFkdu4W9b9G2zC0Mw3VWGT+4uI8zo 9+oaDNYYpDoFE0tmerD3PzYEBwdwbCVmjP7Vg= MIME-Version: 1.0 Received: by 10.216.14.201 with SMTP id d51mr9496536wed.56.1318434138188; Wed, 12 Oct 2011 08:42:18 -0700 (PDT) Sender: c.jayachandran@gmail.com Received: by 10.216.188.3 with HTTP; Wed, 12 Oct 2011 08:42:17 -0700 (PDT) Date: Wed, 12 Oct 2011 21:12:17 +0530 X-Google-Sender-Auth: 2bYhh4mz8H53wbB1KMs3ZMRvidE Message-ID: From: "Jayachandran C." To: freebsd-mips@freebsd.org Content-Type: multipart/mixed; boundary=0016364c7e6d776c6704af1bde80 Subject: [PATCH] Fix for crash on reading /dev/mem in 64 bit. 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, 12 Oct 2011 15:42:19 -0000 --0016364c7e6d776c6704af1bde80 Content-Type: text/plain; charset=ISO-8859-1 The crash happens because memrw() calls uiomove_fromphys() with a vm_page that is allocated in stack. This page does not have the md.pv_list initialized, and when uiomove_fromphys() calls pmap_flush_pvcache(), it results in a kernel crash. The attached patch fixes this bug. Also looking at the code of uiomove_fromphys(), I'm not sure why we need the wbinv and flush pvcache and then another wbinv - any ideas? If there are no comments, I'm planning to check it in later this week. JC. --0016364c7e6d776c6704af1bde80 Content-Type: text/x-patch; charset=US-ASCII; name="mips-dev-mem.patch" Content-Disposition: attachment; filename="mips-dev-mem.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gtohmej60 ZGlmZiAtLWdpdCBhL3N5cy9taXBzL21pcHMvbWVtLmMgYi9zeXMvbWlwcy9taXBzL21lbS5jCmlu ZGV4IDc1MjlhOWUuLmQ0MGM0MjQgMTAwNjQ0Ci0tLSBhL3N5cy9taXBzL21pcHMvbWVtLmMKKysr IGIvc3lzL21pcHMvbWlwcy9tZW0uYwpAQCAtODcsNiArODcsNyBAQCBtZW1ydyhzdHJ1Y3QgY2Rl diAqZGV2LCBzdHJ1Y3QgdWlvICp1aW8sIGludCBmbGFncykKIAogCUdJQU5UX1JFUVVJUkVEOwog CisJcG1hcF9wYWdlX2luaXQoJm0pOwogCXdoaWxlICh1aW8tPnVpb19yZXNpZCA+IDAgJiYgIWVy cm9yKSB7CiAJCWlvdiA9IHVpby0+dWlvX2lvdjsKIAkJaWYgKGlvdi0+aW92X2xlbiA9PSAwKSB7 Cg== --0016364c7e6d776c6704af1bde80-- From owner-freebsd-mips@FreeBSD.ORG Thu Oct 13 15:58:59 2011 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 C18861065676; Thu, 13 Oct 2011 15:58:59 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 87C978FC0A; Thu, 13 Oct 2011 15:58:58 +0000 (UTC) Received: by wyj26 with SMTP id 26so2893253wyj.13 for ; Thu, 13 Oct 2011 08:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=oxs21x0OX2rbNY+EA2dVzIvUaFEiwgp2kBdbwPpOiRE=; b=STfMA+vxJwyn0cFnUBkOep257fGpPuyswec272AZb+uTwRWi2t/uo2x+RY1LTA4lnl lWW9lfHmpksIGrqkQxnMrzPyKDX/0TLgoJVKUgxk6Mw8OwX9MFwnjBqN5NnVlNLYj6Wo jsfEOVMK73t72dA3aP8zgEVmaV2xW3OmtEemM= MIME-Version: 1.0 Received: by 10.216.138.82 with SMTP id z60mr128904wei.11.1318521537581; Thu, 13 Oct 2011 08:58:57 -0700 (PDT) Sender: c.jayachandran@gmail.com Received: by 10.216.188.3 with HTTP; Thu, 13 Oct 2011 08:58:57 -0700 (PDT) In-Reply-To: References: <20111002110331.GF1511@deviant.kiev.zoral.com.ua> Date: Thu, 13 Oct 2011 21:28:57 +0530 X-Google-Sender-Auth: 7WLJ4uZrtBggZ0xYAim6PP_MP4Q Message-ID: From: "Jayachandran C." To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: Kostik Belousov , Alexander Motin , freebsd-mips@freebsd.org Subject: Re: svn commit: r225892 - head/sys/mips/mips 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: Thu, 13 Oct 2011 15:58:59 -0000 Hi Adrian, On Tue, Oct 4, 2011 at 9:48 PM, Adrian Chadd wrote: > On 4 October 2011 23:48, Adrian Chadd wrote: >> Hi all, >> >> I've tried jc's patch. The hand-wavy, brief summary when tested on my >> hostap (mips): >> >> * when doing single-stream, one way TCP tests (where it thus needs >> TX/RX traffic to occur), I get 100% CPU utilisation - 50% interrupt, >> 50% system, but the total interrupt rate isn't too high. It's much >> higher than without his patch. I'll go digging later to see what's >> going on. > > This turns out to be my fault. I seem to have somehow messed up > something in one of my more recent commits. > I'm quite certain that it won't have any impact on the results, as I > never see the interrupt latency issue with bidirectional traffic. > > The UDP results are correct though - jc's stuff hasn't entirely fixed > it. I'll do some more testing tomorrow morning and report what I find. I'm thinking of checking in this patch so that it gets wider testing. Did you get a chance to do the tests? The patch does not cause any further problems for me on XLR/XLP - I have been testing it for a few days. But I don't really have a testcase for the issue you see. JC. From owner-freebsd-mips@FreeBSD.ORG Thu Oct 13 16:01:55 2011 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 549CA1065670; Thu, 13 Oct 2011 16:01:55 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 89D9D8FC16; Thu, 13 Oct 2011 16:01:54 +0000 (UTC) Received: by ywp17 with SMTP id 17so1720754ywp.13 for ; Thu, 13 Oct 2011 09:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=RecqLalPcWdJcfm5z8ZewzcZeMBAheE9WKu2VTjtgXs=; b=uYYTqG6zt7kW73zEMn8TxlylT4sR4Gy6SBC0dnKMVXNUSBQUmbjVk+kPi0e7DMtycO ZXZmHsMVwzrrBtiyHfxVwBpgld9gQDqc+UbdfPdVnCBgGtJEDuARbcRC5DeQChdOnqPd amYIufCCZUlAAmqNd+LCe+gkxcFAK4+L28ITA= MIME-Version: 1.0 Received: by 10.236.84.228 with SMTP id s64mr5145146yhe.3.1318521714095; Thu, 13 Oct 2011 09:01:54 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.109.167 with HTTP; Thu, 13 Oct 2011 09:01:54 -0700 (PDT) In-Reply-To: References: <20111002110331.GF1511@deviant.kiev.zoral.com.ua> Date: Fri, 14 Oct 2011 00:01:54 +0800 X-Google-Sender-Auth: cmHKy09vjWvT_0wkgxgtVBzE76Q Message-ID: From: Adrian Chadd To: "Jayachandran C." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , Alexander Motin , freebsd-mips@freebsd.org Subject: Re: svn commit: r225892 - head/sys/mips/mips 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: Thu, 13 Oct 2011 16:01:55 -0000 On 13 October 2011 23:58, Jayachandran C. wrote: >> The UDP results are correct though - jc's stuff hasn't entirely fixed >> it. I'll do some more testing tomorrow morning and report what I find. > > I'm thinking of checking in this patch so that it gets wider testing. > Did you get a chance to do the tests? > > The patch does not cause any further problems =A0for me on XLR/XLP - I > have been testing it for a few days. =A0But I don't really have a > testcase for the issue you see. I'm still battling some other issues here, but it didn't fix it for me. I'll give it another test tomorrow. We really do need to come up with a good way to stress test this particular scenario so we can verify it on all the MIPS platforms. Adrian From owner-freebsd-mips@FreeBSD.ORG Thu Oct 13 16:38:41 2011 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 83D02106567A; Thu, 13 Oct 2011 16:38:41 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from exprod7og127.obsmtp.com (exprod7og127.obsmtp.com [64.18.2.210]) by mx1.freebsd.org (Postfix) with ESMTP id 3C6BF8FC17; Thu, 13 Oct 2011 16:38:39 +0000 (UTC) Received: from P-EMHUB01-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob127.postini.com ([64.18.6.12]) with SMTP; Thu, 13 Oct 2011 09:38:41 PDT Received: from p-emfe01-wf.jnpr.net (172.28.145.24) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server (TLS) id 8.3.83.0; Thu, 13 Oct 2011 09:33:42 -0700 Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe01-wf.jnpr.net ([fe80::d0d1:653d:5b91:a123%11]) with mapi; Thu, 13 Oct 2011 12:33:42 -0400 From: Andrew Duane To: Adrian Chadd , Jayachandran C. Date: Thu, 13 Oct 2011 12:33:40 -0400 Thread-Topic: svn commit: r225892 - head/sys/mips/mips Thread-Index: AcyJwXU0FyScGLghROijEy4Qp62zXAABF2Ew Message-ID: References: <20111002110331.GF1511@deviant.kiev.zoral.com.ua> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Kostik Belousov , Alexander Motin , "freebsd-mips@freebsd.org" Subject: RE: svn commit: r225892 - head/sys/mips/mips 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: Thu, 13 Oct 2011 16:38:41 -0000 I'd offer help, but my Octeon blades still don't do networking, so I can't = offer too much.... =A0................................... Andrew Duane Juniper Networks o=A0=A0=A0+1 978 589 0551 m=A0 +1 603-770-7088 aduane@juniper.net =A0 > -----Original Message----- > From: owner-freebsd-mips@freebsd.org [mailto:owner-freebsd- > mips@freebsd.org] On Behalf Of Adrian Chadd > Sent: Thursday, October 13, 2011 12:02 PM > To: Jayachandran C. > Cc: Kostik Belousov; Alexander Motin; freebsd-mips@freebsd.org > Subject: Re: svn commit: r225892 - head/sys/mips/mips >=20 > On 13 October 2011 23:58, Jayachandran C. wrote: >=20 > >> The UDP results are correct though - jc's stuff hasn't entirely > fixed > >> it. I'll do some more testing tomorrow morning and report what I > find. > > > > I'm thinking of checking in this patch so that it gets wider testing. > > Did you get a chance to do the tests? > > > > The patch does not cause any further problems =A0for me on XLR/XLP - I > > have been testing it for a few days. =A0But I don't really have a > > testcase for the issue you see. >=20 > I'm still battling some other issues here, but it didn't fix it for me. > I'll give it another test tomorrow. >=20 > We really do need to come up with a good way to stress test this > particular scenario so we can verify it on all the MIPS platforms. >=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" From owner-freebsd-mips@FreeBSD.ORG Fri Oct 14 17:31:55 2011 Return-Path: Delivered-To: mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 553A21065672 for ; Fri, 14 Oct 2011 17:31:55 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from exprod7og104.obsmtp.com (exprod7og104.obsmtp.com [64.18.2.161]) by mx1.freebsd.org (Postfix) with ESMTP id E7D1B8FC0C for ; Fri, 14 Oct 2011 17:31:54 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob104.postini.com ([64.18.6.12]) with SMTP; Fri, 14 Oct 2011 10:31:55 PDT Received: from p-emfe02-wf.jnpr.net (172.28.145.25) by P-EMHUB03-HQ.jnpr.net (172.24.192.37) with Microsoft SMTP Server (TLS) id 8.3.83.0; Fri, 14 Oct 2011 10:31:08 -0700 Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe02-wf.jnpr.net ([fe80::c126:c633:d2dc:8090%11]) with mapi; Fri, 14 Oct 2011 13:31:07 -0400 From: Andrew Duane To: "mips@freebsd.org" Date: Fri, 14 Oct 2011 13:31:05 -0400 Thread-Topic: The Cavium bootmem descriptors Thread-Index: AcyKlw2YONmJAqqgQ1i73vbdA+kqkg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: The Cavium bootmem descriptors 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: Fri, 14 Oct 2011 17:31:55 -0000 Does anyone out there have any experience with these? They are used for Oct= eon chips, for U-Boot to tell the kernel about physical memory at startup. = I need to synthesize one, and there is effectively no documentation at all = on the format. Looking at the U-Boot code is extremely difficult to make an= y sense of. I'm hoping someone has a simple description of the layout I can= work with. Failing that, if someone is using Octeon evaluation boards and U-Boot with = -CURRENT, perhaps they would run some test code for me? ................................... Andrew Duane Juniper Networks o +1 978 589 0551 m +1 603-770-7088 aduane@juniper.net