Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 08:47:27 -0800
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-arch@freebsd.org
Cc:        Warner Losh <imp@bsdimp.com>, Adrian Chadd <adrian.chadd@gmail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Hot-Plug PCIe Support
Message-ID:  <3676083.ysX5rbmR19@ralph.baldwin.cx>
In-Reply-To: <CANCZdfpuQ1X=rot0seBE1_EOGPOCm5v6T83%2BVJ%2Bcernky_KgJg@mail.gmail.com>
References:  <56A7F31C.3030209@FreeBSD.org> <CAJ-VmomN5X%2By2PghV8TnK5FA3W-rxPUuGicYgVv042amAXXxzQ@mail.gmail.com> <CANCZdfpuQ1X=rot0seBE1_EOGPOCm5v6T83%2BVJ%2Bcernky_KgJg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <adrian.chadd@gmail.com>
> 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 <vangyzen@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3676083.ysX5rbmR19>