aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/svm
diff options
context:
space:
mode:
authorWei Wang <wei.wang2@amd.com>2011-11-08 11:25:19 +0100
committerWei Wang <wei.wang2@amd.com>2011-11-08 11:25:19 +0100
commit3a1ba3c2e724d4ccc9299a0eee4f6f830ba0ba55 (patch)
tree946f287f74a996f5eb3925b4669fc9a5fe358101 /xen/include/asm-x86/hvm/svm
parent83df02ecd36134dad4b5f4409c4c483ca4d1fe6a (diff)
downloadxen-3a1ba3c2e724d4ccc9299a0eee4f6f830ba0ba55.tar.gz
xen-3a1ba3c2e724d4ccc9299a0eee4f6f830ba0ba55.tar.bz2
xen-3a1ba3c2e724d4ccc9299a0eee4f6f830ba0ba55.zip
amd iommu: Fix iommu page size encoding when page order > 0.
Fix io address in invalid all pages command. Signed-off-by: Wei Wang <wei.wang2@amd.com> Committed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/svm')
-rw-r--r--xen/include/asm-x86/hvm/svm/amd-iommu-defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/svm/amd-iommu-defs.h b/xen/include/asm-x86/hvm/svm/amd-iommu-defs.h
index 5303bdde88..a94303a39d 100644
--- a/xen/include/asm-x86/hvm/svm/amd-iommu-defs.h
+++ b/xen/include/asm-x86/hvm/svm/amd-iommu-defs.h
@@ -407,4 +407,6 @@
#define INT_REMAP_ENTRY_VECTOR_MASK 0x00FF0000
#define INT_REMAP_ENTRY_VECTOR_SHIFT 16
+#define INV_IOMMU_ALL_PAGES_ADDRESS ((1ULL << 63) - 1)
+
#endif /* _ASM_X86_64_AMD_IOMMU_DEFS_H */