summary refs log tree commit diff stats
path: root/linux-headers/linux/vfio.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-04-28 10:51:32 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-04-28 10:51:32 +0100
commit4a39cbb034cffd19fb4e42bf3b25f47ca30e2826 (patch)
tree85df51c29124073549e3accb1263793cf3801170 /linux-headers/linux/vfio.h
parent411f491e0af173cf8f39347574941bd26fbae381 (diff)
parent44b0c0bbb50818e995702cf76d8e07dd36f479bf (diff)
downloadfocaccia-qemu-4a39cbb034cffd19fb4e42bf3b25f47ca30e2826.tar.gz
focaccia-qemu-4a39cbb034cffd19fb4e42bf3b25f47ca30e2826.zip
Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20140425' into staging
Some s390x patches:

- gdb stubs to make it compile if gdb support is pulled in
- linux-headers update for new oneregs
- two onereg enhancements

# gpg: Signature made Fri 25 Apr 2014 12:42:46 BST using RSA key ID C6F02FAF
# gpg: Can't check signature: public key not found

* remotes/cohuck/tags/s390x-20140425:
  s390x/kvm: sync gbea and pp register
  s390x/kvm: rework KVM synchronize to tracing for some ONEREGS
  linux-headers update
  s390x: empty function stubs in preparation for __KVM_HAVE_GUEST_DEBUG

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-headers/linux/vfio.h')
-rw-r--r--linux-headers/linux/vfio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-headers/linux/vfio.h b/linux-headers/linux/vfio.h
index 17c58e0ede..26c218e692 100644
--- a/linux-headers/linux/vfio.h
+++ b/linux-headers/linux/vfio.h
@@ -23,6 +23,12 @@
 
 #define VFIO_TYPE1_IOMMU		1
 #define VFIO_SPAPR_TCE_IOMMU		2
+#define VFIO_TYPE1v2_IOMMU		3
+/*
+ * IOMMU enforces DMA cache coherence (ex. PCIe NoSnoop stripping).  This
+ * capability is subject to change as groups are added or removed.
+ */
+#define VFIO_DMA_CC_IOMMU		4
 
 /*
  * The IOCTL interface is designed for extensibility by embedding the