From: "Jan Beulich" Subject: Re: [PATCH 1/4] IOMMU: allow MSI message to IRTE propagation to fail Date: Thu, 28 Mar 2013 08:27:38 +0000 Message-ID: <51540D0A02000078000C91DA@nat28.tlf.novell.com> References: <51516FA502000078000C86E1@nat28.tlf.novell.com> <5151725B02000078000C86F5@nat28.tlf.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: George Dunlap Cc: Jacob Shin , Xiantao Zhang , Suravee Suthikulpanit , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 27.03.13 at 18:26, George Dunlap wrote: > On Tue, Mar 26, 2013 at 9:03 AM, Jan Beulich wrote: > >> --- a/xen/drivers/passthrough/amd/iommu_intr.c >> +++ b/xen/drivers/passthrough/amd/iommu_intr.c >> @@ -359,16 +359,13 @@ done: >> } >> } >> >> -void amd_iommu_msi_msg_update_ire( >> +int amd_iommu_msi_msg_update_ire( >> struct msi_desc *msi_desc, struct msi_msg *msg) >> { >> struct pci_dev *pdev = msi_desc->dev; >> int bdf, seg; >> struct amd_iommu *iommu; >> >> - if ( !iommu_intremap ) >> - return; >> - > > It's not clear to me from the description -- why are we removing this? It's not really being removed, it merely became redundant with the one being added to iommu_update_ire_from_msi(). Jan