From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 10 11:14:56 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02F7816A41F for ; Thu, 10 Nov 2005 11:14:56 +0000 (GMT) (envelope-from fierykylin@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36B7143D5E for ; Thu, 10 Nov 2005 11:14:54 +0000 (GMT) (envelope-from fierykylin@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so189542wxc for ; Thu, 10 Nov 2005 03:14:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Az+nT2cKzTCmEN3exmfBT99aJ4ySZWwJINi2U635JOFPXQQ+zfWwGFnVbbN/jgyydgePkFCkoSG0y2dVeCeHRytY+fSAB/PoHNyU6C69SwOAnfidAo1pd554qy5BdK31rtk9W1G6DtpoyuQLYHxgAz7KEYRmscKx96dWXBjlbKY= Received: by 10.70.48.7 with SMTP id v7mr623958wxv; Thu, 10 Nov 2005 02:48:53 -0800 (PST) Received: by 10.70.18.16 with HTTP; Thu, 10 Nov 2005 02:48:53 -0800 (PST) Message-ID: <87ab37ab0511100248n474f3ee1wd952ae3f12cbecc3@mail.gmail.com> Date: Thu, 10 Nov 2005 18:48:53 +0800 From: kylin To: John Baldwin In-Reply-To: <200511061007.03634.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.com> <20051105.140416.69987626.imp@bsdimp.com> <87ab37ab0511060314m2eef7458vefc4f5f657ea6501@mail.gmail.com> <200511061007.03634.jhb@FreeBSD.org> Cc: freebsd-hackers@freebsd.org Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 11:14:56 -0000 Sir ,i am still puzzled by the windows and freebsd arch similar. 1 the window TPS say that windwo allocate the resource window in default size of 1M or 2M,so there may be hole ,does that happen in freebsd 5 or 6? 2 in my view i believe that freebsd us the "just enough "tactics,so the nexus level of resource view is =3D=3D=3Dcontinuous=3D=3D=3D=3Dwith NO = hole in a boot up system, IF hot remove do not happen .am i right? 3 IF i do a PCI hotplug under a bridge, and the bridge 's MEM Window is full ,i have to do reballacne (including use the device_pause method:)), and if i can not declaim the resource from other bridge because "nexus level of resource view is =3D=3D=3Dcontinuous=3D=3D=3D=3Dwit= h NO hole ", can i extend the physical address space beyond the boot time locate range to PCI host bridge ? On 11/6/05, John Baldwin wrote: > On Sunday 06 November 2005 06:14 am, kylin wrote: > > On 11/6/05, M. Warner Losh wrote: > > > In message: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.= com> > > > > > > kylin writes: > > > : /////////////// > > > : pci bridge dynamic resize > > > : ///////////// > > > : it seems that the device arch of freebsd is similar to what is reve= aled > > > : in window OS. i have read the pcie hotplug tps of windows longhorn = ,it > > > : is said that with some hardware mechanisms the pci bridge driver ca= n do > > > : global pci resource window reconfiguration.so good to the hotplugin= pci > > > : device for it avoid prelocating resource for the device . > > > : i wonder ,if the mem /io/irq reconfiguration possible under freebsd= .:) > > > : 1 > > > > > > Yes. Cardbus does it all the time. However, there's no pcie hot-plu= g > > > support yet, so the process for kicking off configuration of the new > > > device doesn't happen. > > > > > > Warner > > > > sorry for my poor grammar ,i think i confused the public:) i will make > > myself clear with the words below about the PCI Multi-level Rebalance > > > > PCI Multi-level Rebalance in Windows Longhorn > > Updated: November 25, 2003 > > No, FreeBSD doesn't currently do what this decribes yet. It would be pos= sible > to do it by adding a new device_pause() method that drivers would be requ= ired > to implement while the resources were shuffled around though and possibly= a > device_unpause() method so that they could update their state if their > resources were changed while the device was paused. > > -- > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org > -- we who r about to die,salute u!