From: "Jan Beulich" Subject: Re: [RFC v2 07/15] vt-d: Add API to update IRTE when VT-d PI is used Date: Fri, 12 Jun 2015 11:33:22 +0100 Message-ID: <557AD19202000078000841D3@mail.emea.novell.com> References: <1431076038-7497-1-git-send-email-feng.wu@intel.com> <1431076038-7497-8-git-send-email-feng.wu@intel.com> <557715380200007800082B40@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Feng Wu Cc: Kevin Tian , "keir@xen.org" , "george.dunlap@eu.citrix.com" , "andrew.cooper3@citrix.com" , "xen-devel@lists.xen.org" , Yang Z Zhang List-Id: xen-devel@lists.xenproject.org >>> On 12.06.15 at 11:40, wrote: >> From: Jan Beulich [mailto:JBeulich@suse.com] >> Sent: Tuesday, June 09, 2015 10:33 PM >> >>> On 08.05.15 at 11:07, wrote: >> > + remap_index = msi_desc->remap_index; >> > + drhd = acpi_find_matched_drhd_unit(pci_dev); >> > + if ( !drhd ) >> > + { >> > + dprintk(XENLOG_INFO VTDPREFIX, >> > + "%pv: failed to get drhd, pci device: " >> > + "%04x:%02x:%02x.%u, guest vector: %u\n", >> > + v, pci_dev->seg, pci_dev->bus, PCI_SLOT(pci_dev->devfn), >> > + PCI_FUNC(pci_dev->devfn), gvec); >> > + goto unlock_out; >> > + } >> > + >> > + iommu = drhd->iommu; >> > + ir_ctrl = iommu_ir_ctrl(iommu); >> > + if ( !ir_ctrl ) >> > + { >> > + dprintk(XENLOG_INFO VTDPREFIX, >> > + "%pv: failed to get ir_ctrl, pci device: " >> > + "%04x:%02x:%02x.%u, guest vector: %u\n", >> > + v, pci_dev->seg, pci_dev->bus, PCI_SLOT(pci_dev->devfn), >> > + PCI_FUNC(pci_dev->devfn), gvec); >> > + goto unlock_out; >> > + } >> >> Do you think these log messages are useful beyond your bringup >> purposes? > > So what kind of message do you think I need to show here? None at all? Jan