diff options
| author | Joao Martins <[email protected]> | 2023-10-24 14:50:53 +0100 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2023-10-24 11:58:42 -0300 |
| commit | 8c9c727b6142325ed5697240fceb99cbeb4ac2ec (patch) | |
| tree | e77756c398f0eabeabb70a30ad0d94189922ca8b /tools/perf/scripts/python | |
| parent | 53f0b020218fcc0a56a11df39630dbd379e4d9a6 (diff) | |
vfio: Move iova_bitmap into iommufd
Both VFIO and IOMMUFD will need iova bitmap for storing dirties and walking
the user bitmaps, so move to the common dependency into IOMMUFD. In doing
so, create the symbol IOMMUFD_DRIVER which designates the builtin code that
will be used by drivers when selected. Today this means MLX5_VFIO_PCI and
PDS_VFIO_PCI. IOMMU drivers will do the same (in future patches) when
supporting dirty tracking and select IOMMUFD_DRIVER accordingly.
Given that the symbol maybe be disabled, add header definitions in
iova_bitmap.h for when IOMMUFD_DRIVER=n
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joao Martins <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Brett Creeley <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Alex Williamson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions