From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chen, Tiejun" Subject: Re: [v2][PATCH] xen/vtd/iommu: permit group devices to passthrough in relaxed mode Date: Thu, 10 Sep 2015 09:23:06 +0800 Message-ID: <55F0DB7A.5@intel.com> References: <1441763998-4937-1-git-send-email-tiejun.chen@intel.com> <55EFF3CE02000078000A1150@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55EFF3CE02000078000A1150@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , Kevin Tian Cc: Yang Zhang , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 9/9/2015 2:54 PM, Jan Beulich wrote: >>>> On 09.09.15 at 03:59, wrote: >> @@ -2310,12 +2312,16 @@ static int intel_iommu_assign_device( >> PCI_DEVFN2(bdf) == devfn && >> rmrr->scope.devices_cnt > 1 ) >> { >> - printk(XENLOG_G_ERR VTDPREFIX >> - " cannot assign %04x:%02x:%02x.%u" >> + bool_t relaxed = !!(flag & XEN_DOMCTL_DEV_RDM_RELAXED); >> + >> + printk(XENLOG_G_WARNING VTDPREFIX > > Well, I can live with this always being a warning, but it's not what I > had asked for. The VT-d maintainers will have to judge. > Kevin, Any comments? Thanks Tiejun