diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-09-14 14:17:26 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-09-14 14:17:26 +0200 |
commit | 15aa6c67486cc12cd30be05b441f413013912659 (patch) | |
tree | fcde6c4c5516d8c142ae39f8095830892a4e04d0 /xen/include/asm-x86/amd-iommu.h | |
parent | 3e71234b6a0587c370c6573c5efa6fcbf13a6877 (diff) | |
download | xen-15aa6c67486cc12cd30be05b441f413013912659.tar.gz xen-15aa6c67486cc12cd30be05b441f413013912659.tar.bz2 xen-15aa6c67486cc12cd30be05b441f413013912659.zip |
amd iommu: use base platform MSI implementation
Given that here, other than for VT-d, the MSI interface gets surfaced
through a normal PCI device, the code should use as much as possible of
the "normal" MSI support code.
Further, the code can (and should) follow the "normal" MSI code in
distinguishing the maskable and non-maskable cases at the IRQ
controller level rather than checking the respective flag in the
individual actors.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Wang <wei.wang2@amd.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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index 92423e21da..6d043bb314 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -83,6 +83,7 @@ struct amd_iommu { u16 seg; u16 bdf; u16 cap_offset; + u8 msi_cap; iommu_cap_t cap; u8 ht_flags; @@ -101,9 +102,6 @@ struct amd_iommu { uint64_t exclusion_base; uint64_t exclusion_limit; - int msi_cap; - int maskbit; - int enabled; int irq; }; |