svn commit: r279444 - in head/sys/amd64/vmm: . io

John Baldwin jhb at freebsd.org
Mon Mar 2 21:31:48 UTC 2015


On Sunday, March 01, 2015 12:39:48 AM Ryan Stone wrote:
> Author: rstone
> Date: Sun Mar  1 00:39:48 2015
> New Revision: 279444
> URL: https://svnweb.freebsd.org/changeset/base/279444
> 
> Log:
>   Allow passthrough devices to be hinted.
> 
>   Allow the ppt driver to attach to devices that were hinted to be
>   passthrough devices by the PCI code creating them with a driver
>   name of "ppt".
> 
>   Add a tunable that allows the IOMMU to be forced to be used.  With
>   SR-IOV passthrough devices the VFs may be created after vmm.ko is
>   loaded.  The current code will not initialize the IOMMU in that
>   case, meaning that the passthrough devices can't actually be used.
> 
>   Differential Revision:	https://reviews.freebsd.org/D73
>   Reviewed by:		neel
>   MFC after: 		1 month
>   Sponsored by:		Sandvine Inc.

Ah, hopefully this also fixes the case of doing 'devctl set driver foo0 ppt'
which currently doesn't work due to the hints thing (if so, this means you
can decide to convert an existing device to pass through after boot time).

-- 
John Baldwin


More information about the svn-src-head mailing list