diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-04-16 13:43:23 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-04-16 13:43:23 +0100 |
commit | 8415719513ba048939d0ded7565cd9cba7c306c4 (patch) | |
tree | 5c2b78228a1832bcc01b51e7673bd8ef4b79253c /xen/include/asm-x86/amd-iommu.h | |
parent | 4ed4200b8551370a25b2cc803fd88836c58b9127 (diff) | |
download | xen-8415719513ba048939d0ded7565cd9cba7c306c4.tar.gz xen-8415719513ba048939d0ded7565cd9cba7c306c4.tar.bz2 xen-8415719513ba048939d0ded7565cd9cba7c306c4.zip |
AMD IOMMU: Add event logging support.
MSI interrupt will be triggered on IO page fault and the fault address
will be written into an in-memory event log buffer automatically by
hardware. This patch handles the MSI interrupt simply by reading event
log entry and printing out the parsed result.
Signed-off-by: Wei Wang <wei.wang2@amd.com>
Diffstat (limited to 'xen/include/asm-x86/amd-iommu.h')
-rw-r--r-- | xen/include/asm-x86/amd-iommu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index b680dc38c8..f577cbc59c 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -79,6 +79,9 @@ struct amd_iommu { int exclusion_allow_all; uint64_t exclusion_base; uint64_t exclusion_limit; + + int msi_cap; + int maskbit; }; struct ivrs_mappings { |