[Intel-gfx] [PATCH 05/10] vfio: Use IOMMU_CAP_ENFORCE_CACHE_COHERENCY for vfio_file_enforced_coherent()

Jason Gunthorpe jgg at nvidia.com
Fri Nov 4 19:45:39 UTC 2022


On Thu, Nov 03, 2022 at 04:38:16AM +0000, Tian, Kevin wrote:
> > From: Jason Gunthorpe <jgg at nvidia.com>
> > Sent: Tuesday, November 1, 2022 8:26 PM
> > And this:
> > 
> > 	/*
> > 	 * If the device does not have
> > IOMMU_CAP_ENFORCE_CACHE_COHERENCY then
> > 	 * any domain later attached to it will also not support it. If the cap
> > 	 * is set then the iommu_domain eventually attached to the
> > device/group
> > 	 * must must use a domain with enforce_cache_coherency().
> > 	 */
> 
> duplicated 'must'

Done

Jason


More information about the Intel-gfx mailing list