linux/drivers/iommu/iommufd
Jason Gunthorpe b2b67c997b iommufd: Organize the mock domain alloc functions closer to Joerg's tree
Patches in Joerg's iommu tree to convert the mock driver to use
domain_alloc_paging() that clash badly with the way the selftest changes
for nesting were structured.

Massage the selftest so that it looks closer the code after the
domain_alloc_paging() conversion to ease the merge. Change
__mock_domain_alloc_paging() into mock_domain_alloc_paging() in the same
way as the iommu tree. The merge resolution then trivially takes both and
deletes mock_domain_alloc().

Link: https://lore.kernel.org/r/0-v1-90a855762c96+19de-mock_merge_jgg@nvidia.com
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2023-10-30 18:01:56 -03:00
..
device.c iommufd: Add a nested HW pagetable object 2023-10-26 11:15:57 -03:00
double_span.h
hw_pagetable.c iommufd: Add a nested HW pagetable object 2023-10-26 11:15:57 -03:00
io_pagetable.c iommufd: Add iopt_area_alloc() 2023-10-30 11:36:04 -03:00
io_pagetable.h
ioas.c iommu/iommufd: Pass iommufd_ctx pointer in iommufd_get_ioas() 2023-03-29 16:52:41 -03:00
iommufd_private.h iommufd: Add a nested HW pagetable object 2023-10-26 11:15:57 -03:00
iommufd_test.h iommufd/selftest: Add nested domain allocation for mock domain 2023-10-26 11:15:57 -03:00
iova_bitmap.c iommufd/iova_bitmap: Move symbols to IOMMUFD namespace 2023-10-24 11:58:42 -03:00
Kconfig vfio: Compile vfio_group infrastructure optionally 2023-07-25 10:20:50 -06:00
main.c iommufd: Add a nested HW pagetable object 2023-10-26 11:15:57 -03:00
Makefile vfio: Move iova_bitmap into iommufd 2023-10-24 11:58:42 -03:00
pages.c iommufd: Add iopt_area_alloc() 2023-10-30 11:36:04 -03:00
selftest.c iommufd: Organize the mock domain alloc functions closer to Joerg's tree 2023-10-30 18:01:56 -03:00
vfio_compat.c iommufd: Derive iommufd_hwpt_paging from iommufd_hw_pagetable 2023-10-26 11:15:56 -03:00