aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/amd-iommu.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-07-16 11:52:38 +0200
committerJan Beulich <jbeulich@suse.com>2013-07-16 11:52:38 +0200
commit2ca9fbd739b8a72b16dd790d0fff7b75f5488fb8 (patch)
tree835ac39150e1a265bdb9d19f2f8d8ac3e91e6b9c /xen/include/asm-x86/amd-iommu.h
parent3726b101a5cfb2614d3fa2d8be29d6e0b4032a6e (diff)
downloadxen-2ca9fbd739b8a72b16dd790d0fff7b75f5488fb8.tar.gz
xen-2ca9fbd739b8a72b16dd790d0fff7b75f5488fb8.tar.bz2
xen-2ca9fbd739b8a72b16dd790d0fff7b75f5488fb8.zip
AMD IOMMU: allocate IRTE entries instead of using a static mapping
For multi-vector MSI, where we surely don't want to allocate contiguous vectors and be able to set affinities of the individual vectors separately, we need to drop the use of the tuple of vector and delivery mode to determine the IRTE to use, and instead allocate IRTEs (which imo should have been done from the beginning). Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Diffstat (limited to 'xen/include/asm-x86/amd-iommu.h')
-rw-r--r--xen/include/asm-x86/amd-iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h
index 54f7e56fc5..b45708b210 100644
--- a/xen/include/asm-x86/amd-iommu.h
+++ b/xen/include/asm-x86/amd-iommu.h
@@ -119,6 +119,7 @@ struct ivrs_mappings {
/* per device interrupt remapping table */
void *intremap_table;
+ unsigned long *intremap_inuse;
spinlock_t intremap_lock;
/* ivhd device data settings */