From owner-p4-projects@FreeBSD.ORG Mon Apr 3 19:52:54 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EE79C16A443; Mon, 3 Apr 2006 19:52:53 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B362D16A43B; Mon, 3 Apr 2006 19:52:53 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B47F43D6E; Mon, 3 Apr 2006 19:52:53 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (ajco3edpvk4f5r6i@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k33JqqFE053964; Mon, 3 Apr 2006 12:52:52 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k33JqqH7053963; Mon, 3 Apr 2006 12:52:52 -0700 (PDT) (envelope-from jmg) Date: Mon, 3 Apr 2006 12:52:52 -0700 From: John-Mark Gurney To: John Baldwin Message-ID: <20060403195251.GH53811@funkthat.com> References: <200604030641.k336f6iG055021@repoman.freebsd.org> <200604031503.41288.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604031503.41288.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Perforce Change Reviews Subject: Re: PERFORCE change 94510 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 19:52:54 -0000 John Baldwin wrote this message on Mon, Apr 03, 2006 at 15:03 -0400: > On Monday 03 April 2006 02:41, John-Mark Gurney wrote: > > http://perforce.freebsd.org/chv.cgi?CH=94510 > > > > Change 94510 by jmg@jmg_arlene on 2006/04/03 06:40:19 > > > > don't force the unit number to match the bus number, this breaks > > machines with multiple pci domains... how the alpha worked with > > this is beyond me (besides using custom pci bridge drivers?) > > Alpha has issues with hoses. That said, this might break some things. :( > If nothing else, it makes it nearly impossible now for people to get the > names of hints to override things like PCI routing via tunables correct. just a bit less impossible than booting a multi domain box.. > I would prefer a structured solution that preserved the status quo on > machines w/o multiple domains. Maybe have the unit number be something > like domain * X + bus number, where X is some arbitrary constant like > 100 or 1000 (those are better for human parsing). Isn't this solved by something like wiring down unit numbers? Where when you need to add a hint for interrupt routing you wire down the busses as necessasry? Or maybe the fact that hints have to be wired, can't there be some more descriptive hint that is better than depending upon hard coded unit numbers? As we've gotten away from static allocation for things like this, we now need to invent the next method for supporting hints in a dynamic environment.. Topic for the dev summit: Static hints in a dynamic world? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."