aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-04-15 10:33:48 +0200
committerJan Beulich <jbeulich@suse.com>2013-04-15 10:33:48 +0200
commit6a727d6be892ea5ff818446d96974bebdf8ac3a2 (patch)
tree7b167dd6266b4c5b4824a496c8e7405fba05f489 /xen/include/asm-x86/hvm
parent887885c17ada9c571a7a2cd71410876448d0610a (diff)
downloadxen-6a727d6be892ea5ff818446d96974bebdf8ac3a2.tar.gz
xen-6a727d6be892ea5ff818446d96974bebdf8ac3a2.tar.bz2
xen-6a727d6be892ea5ff818446d96974bebdf8ac3a2.zip
IOMMU: allow MSI message to IRTE propagation to fail
With the need to allocate multiple contiguous IRTEs for multi-vector MSI, the chance of failure here increases. While on the AMD side there's no allocation of IRTEs at present at all (and hence no way for this allocation to fail, which is going to change with a later patch in this series), VT-d already ignores an eventual error here, which this patch fixes. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: "Zhang, Xiantao" <xiantao.zhang@intel.com>
Diffstat (limited to 'xen/include/asm-x86/hvm')
-rw-r--r--xen/include/asm-x86/hvm/svm/amd-iommu-proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h b/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
index 06789bc148..bec2c84108 100644
--- a/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
+++ b/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
@@ -93,7 +93,7 @@ void *amd_iommu_alloc_intremap_table(void);
int amd_iommu_free_intremap_table(u16 seg, struct ivrs_mappings *);
void amd_iommu_ioapic_update_ire(
unsigned int apic, unsigned int reg, unsigned int value);
-void amd_iommu_msi_msg_update_ire(
+int amd_iommu_msi_msg_update_ire(
struct msi_desc *msi_desc, struct msi_msg *msg);
void amd_iommu_read_msi_from_ire(
struct msi_desc *msi_desc, struct msi_msg *msg);