linux-stable/drivers/iommu/iommufd
Jason Gunthorpe d53764723e iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags()
Now that the main domain allocating path is calling this function it
doesn't make sense to leave it named _user. Change the name to
alloc_paging_flags() to mirror the new iommu_paging_domain_alloc_flags()
function.

A driver should implement only one of ops->domain_alloc_paging() or
ops->domain_alloc_paging_flags(). The former is a simpler interface with
less boiler plate that the majority of drivers use. The latter is for
drivers with a greater feature set (PASID, multiple page table support,
advanced iommufd support, nesting, etc). Additional patches will be needed
to achieve this.

Link: https://patch.msgid.link/r/2-v1-c252ebdeb57b+329-iommu_paging_flags_jgg@nvidia.com
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2024-11-22 14:43:45 -04:00
..
device.c Merge branch 'nesting_reserved_regions' into iommufd.git for-next 2024-08-27 11:13:56 -03:00
double_span.h iommufd: PFN handling for iopt_pages 2022-11-30 20:16:49 -04:00
driver.c iommufd/viommu: Add iommufd_viommu_find_dev helper 2024-11-12 11:46:19 -04:00
fault.c iommufd: Allow fault reporting for non-PRI PCI devices 2024-11-07 13:06:01 -04:00
hw_pagetable.c iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags() 2024-11-22 14:43:45 -04:00
io_pagetable.c iommufd: Add IOMMU_IOAS_MAP_FILE 2024-10-28 13:24:24 -03:00
io_pagetable.h iommufd: Add IOMMU_IOAS_CHANGE_PROCESS 2024-11-14 12:57:13 -04:00
ioas.c iommufd: Add IOMMU_IOAS_CHANGE_PROCESS 2024-11-14 12:57:13 -04:00
iommufd_private.h iommufd: Add IOMMU_IOAS_CHANGE_PROCESS 2024-11-14 12:57:13 -04:00
iommufd_test.h iommufd/selftest: Add IOMMU_TEST_OP_DEV_CHECK_CACHE test command 2024-11-12 11:46:19 -04:00
iova_bitmap.c iommufd: Reorder include files 2024-08-26 12:02:03 -03:00
Kconfig iommufd: Move _iommufd_object_alloc helper to a sharable file 2024-11-12 11:46:18 -04:00
main.c iommufd: Add IOMMU_IOAS_CHANGE_PROCESS 2024-11-14 12:57:13 -04:00
Makefile iommufd/viommu: Add IOMMU_VIOMMU_ALLOC ioctl 2024-11-12 11:46:18 -04:00
pages.c iommufd: Export do_update_pinned 2024-11-14 12:47:16 -04:00
selftest.c iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags() 2024-11-22 14:43:45 -04:00
vfio_compat.c vfio: Remove VFIO_TYPE1_NESTING_IOMMU 2024-11-05 10:24:16 +00:00
viommu.c iommufd/viommu: Add IOMMUFD_OBJ_VDEVICE and IOMMU_VDEVICE_ALLOC ioctl 2024-11-12 11:46:18 -04:00