From owner-freebsd-current@FreeBSD.ORG Tue Oct 21 15:42:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8C1516A4B3 for ; Tue, 21 Oct 2003 15:42:40 -0700 (PDT) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id BB13943FAF for ; Tue, 21 Oct 2003 15:42:39 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: (qmail 88694 invoked by uid 1002); 21 Oct 2003 22:42:39 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 21 Oct 2003 22:42:39 -0000 Message-ID: <3F95B656.50102@freebsd.org> Date: Tue, 21 Oct 2003 16:42:30 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anholt References: <1066772724.646.62.camel@leguin> In-Reply-To: <1066772724.646.62.camel@leguin> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: PCI domains? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 22:42:40 -0000 Eric Anholt wrote: > Is there any concept of PCI domains in the kernel? > > This is for the DRM, while dealing with a complaint from Linus recently: > > >>Please fix the fact that modern PCI is _not_ enumerated with just "bus, >>slot, function". A lot of machines are starting to have a "domain number", >>which allows fro multiple independent PCI subsystems in the same machine. >> >>On linux, you can use "pci_name(pdev)" to get a truly unique descriptor of >>the device (within the PCI subsystem). It will look something like >> >> 0000:00:02.0 >> >>for "domain 0, bus 0, device 2, function 0". > > > We don't have much of a concept of this (except possibly Alpha like John mentioned, but I really cannot comment on that). Supporting it wouldn't be terribly magical on our end until we fix busdma to support device-device transfers. Since I don't know much context on the DRM side, what exactly is Linus asking to change, and do we need to worry about it? Scott