diff options
author | Jason Gunthorpe <[email protected]> | 2022-05-04 16:14:43 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-05-13 10:14:20 -0600 |
commit | a905ad043f32bbb0c35d4325036397f20f30c8a9 (patch) | |
tree | d6fd0152cfaec5856b36d73d84f729c02e69d9e2 /include/linux/fpga/fpga-mgr.h | |
parent | c38ff5b0c373fbbd6a249eb461ffd4ae0f9dbfa0 (diff) |
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 <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions