From owner-svn-src-head@FreeBSD.ORG Mon Mar 2 21:31:48 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 416AB8FE; Mon, 2 Mar 2015 21:31:48 +0000 (UTC) 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 16212A82; Mon, 2 Mar 2015 21:31:48 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-54-116-245.nwrknj.fios.verizon.net [173.54.116.245]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 09FACB999; Mon, 2 Mar 2015 16:31:47 -0500 (EST) From: John Baldwin To: Ryan Stone Subject: Re: svn commit: r279444 - in head/sys/amd64/vmm: . io Date: Mon, 02 Mar 2015 13:57:58 -0500 Message-ID: <1732134.mIfMuHJmix@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-STABLE; KDE/4.14.2; amd64; ; ) In-Reply-To: <201503010039.t210dm23090086@svn.freebsd.org> References: <201503010039.t210dm23090086@svn.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); Mon, 02 Mar 2015 16:31:47 -0500 (EST) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2015 21:31:48 -0000 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