From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 2 13:13:21 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 046BD1065679; Tue, 2 Nov 2010 13:13:20 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 283CD8FC1B; Tue, 2 Nov 2010 13:13:19 +0000 (UTC) Received: by eyb7 with SMTP id 7so3429658eyb.13 for ; Tue, 02 Nov 2010 06:13:19 -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; bh=WHo2LKt1Ue2xu7HnNnCB3/BvskOGAufs7EKOLjguWMc=; b=W8udFjMFvO6oDvbDBGSZjZ5QhH5dkuaKxfvNY7s2Xo3vlRrNbIQLHrCWFNg2tndZ5H 9pORFCXEa3A383EEFgzI2cEDhuqJQ83WtJijGPtUcveyxe7xgtO8+/eEaVXqA1otkiQi JMSYRrcN512JcnfI+tnA1vSpnEQhlwimylRP0= 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; b=S/fg6UyTwEe5pMrkrPGj2aJh/EVw6/OvKSLgp0nvSdgM0WBW52AoE4JNA5OhgK2Ve/ bzTluIqf/KawwcaFJSyOW+jwJ+85jG4jp4x8mFHD9li4frVaoq4isbqNJAkaUrg2nC/X Tksb6ZVUP1qotYHLUUPSO72ePgm+1ivpB4GAI= MIME-Version: 1.0 Received: by 10.216.168.194 with SMTP id k44mr9826766wel.58.1288703598421; Tue, 02 Nov 2010 06:13:18 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.216.49.201 with HTTP; Tue, 2 Nov 2010 06:13:18 -0700 (PDT) In-Reply-To: References: <4CCDD51F.2040003@freebsd.org> Date: Tue, 2 Nov 2010 09:13:18 -0400 X-Google-Sender-Auth: WHoNvGBieQ6FYJNJIv0GwoP25FA Message-ID: From: Justin Hibbits To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-sparc64@freebsd.org, freebsd-ppc@freebsd.org Subject: Re: Review request -- splitting OF enumeration from nexus X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 13:13:21 -0000 On Mon, Nov 1, 2010 at 11:04 AM, Justin Hibbits wrote: > On Sun, Oct 31, 2010 at 4:44 PM, Nathan Whitehorn wrote: > >> Nexus on OF platforms doesn't behave like nexus on x86, which generates >> some periodic difficulty with cryptosoft or syscons attaching to all devices >> and taking over the system when someone makes a wrong assumption. I have >> done some work to split out OF enumeration into a new, acpi(4)-like bus >> called ofwbus that does all of the OF enumeration previously done by >> nexus(4). The patch can be found at >> http://people.freebsd.org/~nwhitehorn/ofwbus.diff. >> >> Doing this also provides a number of other benefits: it shares code >> between PowerPC and sparc64, unifies the AIM and Book-E nexus >> implementations on PPC, and makes it easier to have non-Open Firmware >> platforms on PPC (the original motivation for the work). I have tested this >> code with no obvious problems on a variety of Apple PPC machines and a Sun >> Ultra 5. More testing and comments would be much appreciated. If no has any >> objections, I will commit these changes in 2 weeks. >> -Nathan >> > > Building world now, and will test when I get home this evening. > > A note to others: powerpc/powerpc/nexus.c is a resurrected file, so I > needed to copy it from powerpc/aim/nexus.c before the patch would apply. > > - Justin > > It's been up for 13 hours now with no problems. Machine: G4 1.25GHz MDD. - Justin