Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 19:49:37 -0500
From:      Rajil Saraswat <rajil.s@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: PCIE card with USB ports
Message-ID:  <8ef4d8db-3268-d12c-ef0c-b39ad1e4efbf@gmail.com>
In-Reply-To: <201705152015.v4FKFOFW054596@pdx.rh.CN85.dnsmgr.net>
References:  <201705152015.v4FKFOFW054596@pdx.rh.CN85.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/15/2017 03:15 PM, Rodney W. Grimes wrote:
>> 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.
>
>
I tried this Mailiya card (https://www.amazon.com/gp/product/B01G86538S)
based on Renesas uPD720201 chipset and it worked fine.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ef4d8db-3268-d12c-ef0c-b39ad1e4efbf>