diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-11-28 10:07:11 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-11-28 10:07:11 +0100 |
commit | 899110e3f6d2a191638e8b50a981c551eeec49e6 (patch) | |
tree | 92c0c9b84bbc8f2e340900e92c05736beeacbf5a /xen/include/asm-x86/amd-iommu.h | |
parent | 13d6f7b55a7fa083964870c591b514f475087386 (diff) | |
download | xen-899110e3f6d2a191638e8b50a981c551eeec49e6.tar.gz xen-899110e3f6d2a191638e8b50a981c551eeec49e6.tar.bz2 xen-899110e3f6d2a191638e8b50a981c551eeec49e6.zip |
AMD IOMMU: include IOMMU interrupt information in 'M' debug key output
Note that this also adds a few pieces missing from c/s
25903:5e4a00b4114c (relevant only when the PCI MSI mask bit is
supported by an IOMMU, which apparently isn't the case for existing
implementations).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/amd-iommu.h')
-rw-r--r-- | xen/include/asm-x86/amd-iommu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index 6d043bb314..66c1ebaa14 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -25,6 +25,7 @@ #include <xen/list.h> #include <xen/spinlock.h> #include <xen/tasklet.h> +#include <asm/msi.h> #include <asm/hvm/svm/amd-iommu-defs.h> #define iommu_found() (!list_empty(&amd_iommu_head)) @@ -82,8 +83,9 @@ struct amd_iommu { u16 seg; u16 bdf; + struct msi_desc msi; + u16 cap_offset; - u8 msi_cap; iommu_cap_t cap; u8 ht_flags; @@ -103,7 +105,6 @@ struct amd_iommu { uint64_t exclusion_limit; int enabled; - int irq; }; struct ivrs_mappings { |