> Rajil Saraswat wrote this message on Sun, May 14, 2017 at 16:03 -0500:
> > On 05/14/2017 12:40 PM, John-Mark Gurney wrote:
> > > Rajil Saraswat wrote this message on Sat, May 13, 2017 at 20:34 -0500:
> > >> I am looking for a recommendation for an out-of-the-box working PCIE
> > >> card with USB controller.
> > > They all should just work.  The driver interface is standardized and
> > > should just work no mater what card you pick.
> > >
> > I came across the following post wherein there was some issue with a
> > card. Is that no longer the problem in FreeBSD-11?
> > 
> > https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-February/003371.html
> Yes, it has been fixed/addressed and was committed before 11:
> https://svnweb.freebsd.org/base/head/usr.sbin/bhyve/pci_passthru.c?revision=297932&view=markup

One still must be very carefull about picking cards for pci passthru usage,
it has far tighter restrictions than "cards that just work with FreeBSD".
The card must have BAR's that are page aligned, and iirc of integral
multiple of page in size.

Many cards fail this restriction.  When I was doing the AMD/IOmmu
code testing for Anish about 50% of the cards I grabed to test with
failed because of these contrataints.  These cards worked fine with
FreeBSD using them native.

Rod Grimes                                                 rgri...@freebsd.org
freebsd-virtualization@freebsd.org mailing list
To unsubscribe, send any mail to 

Reply via email to