vfio/type1: Add extension to test DMA cache coherence of IOMMU
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 26 Feb 2014 18:38:37 +0000 (11:38 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 26 Feb 2014 18:38:37 +0000 (11:38 -0700)
commitaa429318279b90192f35a97e9ccdc1e83b3a9624
treeb27ec47dd53413e02c81376f80c10fd57ba4a334
parent1ef3e2bc04223ff956dc62abaf2dff1f3322a431
vfio/type1: Add extension to test DMA cache coherence of IOMMU

Now that the type1 IOMMU backend can support IOMMU_CACHE, we need to
be able to test whether coherency is currently enforced.  Add an
extension for this.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c
include/uapi/linux/vfio.h