From owner-freebsd-hackers@freebsd.org Wed Jan 27 16:47:32 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DE31A707FE; Wed, 27 Jan 2016 16:47:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CE4B12D2; Wed, 27 Jan 2016 16:47:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C0D97B93C; Wed, 27 Jan 2016 11:47:30 -0500 (EST) From: John Baldwin To: freebsd-arch@freebsd.org Cc: Warner Losh , Adrian Chadd , "freebsd-hackers@freebsd.org" , freebsd-current Subject: Re: Hot-Plug PCIe Support Date: Wed, 27 Jan 2016 08:47:27 -0800 Message-ID: <3676083.ysX5rbmR19@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: References: <56A7F31C.3030209@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 27 Jan 2016 11:47:30 -0500 (EST) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2016 16:47:32 -0000 On Tuesday, January 26, 2016 11:33:08 PM Warner Losh wrote: > It's mostly done, but needs a careful review by PCI domain experts. I've > been doing it a little at a time, but have been crunched for time. Since > $DAYJOB doesn't care about hot plug, it's a lower priority than all the > things related or semi-related to it. As I noted in the review on phabricator, it needs to be rearranged. It currently puts a bunch of code in the PCI bus that instead belongs in the PCI-PCI bridge (all the interrupt handling, MSI, etc. are properties of the bridge and should be handled in their rather than magic fields in the pci_dinfo of the bridge in the parent PCI bus). It is not a lot of code and probably wouldn't take long to finish. I had been waiting to let jmg@ finish it. https://reviews.freebsd.org/D3932 > Warner > > > On Tue, Jan 26, 2016 at 6:58 PM, Adrian Chadd > wrote: > > > please grab the pciehp work that jmg has done and push it along to > > completion. Pretty please in fact. > > > > > > -a > > > > > > On 26 January 2016 at 14:28, Eric van Gyzen wrote: > > > FreeBSD Folks: > > > > > > I am currently scoping the effort to add hot-plug PCIe support to > > > FreeBSD. Is anyone else currently working on this or aware of any > > > design, code, or other effort available outside the tree? > > > > > > FYI, here are perhaps the most interesting references I could find: > > > > > > https://wiki.freebsd.org/PCIHotplug > > > > > > > > https://wiki.freebsd.org/IdeasPage#Implementing_PCI-Hotplug_and_ExpressCard_support > > > > > > > > https://lists.freebsd.org/pipermail/freebsd-current/2015-April/055290.html > > > > > > https://lists.freebsd.org/pipermail/freebsd-ia32/2010-February/date.html > > > > > > Please reply on freebsd-hackers@FreeBSD.org to minimize cross-posting. > > > > > > Thanks in advance. > > > > > > Eric > > > _______________________________________________ > > > freebsd-current@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > To unsubscribe, send any mail to " > > freebsd-current-unsubscribe@freebsd.org" > > _______________________________________________ > > freebsd-arch@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arch > > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-arch@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" -- John Baldwin