diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2022-05-04 21:14:43 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-05-13 18:14:20 +0200 |
commit | a905ad043f32bbb0c35d4325036397f20f30c8a9 (patch) | |
tree | d6fd0152cfaec5856b36d73d84f729c02e69d9e2 /fs/nls/nls_ascii.c | |
parent | vfio: Remove vfio_external_group_match_file() (diff) | |
download | linux-a905ad043f32bbb0c35d4325036397f20f30c8a9.tar.xz linux-a905ad043f32bbb0c35d4325036397f20f30c8a9.zip |
vfio: Change vfio_external_check_extension() to vfio_file_enforced_coherent()
Instead of a general extension check change the function into a limited
test if the iommu_domain has enforced coherency, which is the only thing
kvm needs to query.
Make the new op self contained by properly refcounting the container
before touching it.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/5-v3-f7729924a7ea+25e33-vfio_kvm_no_group_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'fs/nls/nls_ascii.c')
0 files changed, 0 insertions, 0 deletions