linux-stable/drivers/iommu/amd
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
..
amd_iommu_types.h iommu/amd: Convert dev_data lock from spinlock to mutex 2024-10-30 11:06:45 +01:00
amd_iommu.h Merge branches 'intel/vt-d', 'amd/amd-vi' and 'iommufd/arm-smmuv3-nested' into next 2024-11-15 09:27:43 +01:00
debugfs.c iommu/amd: Move AMD IOMMU driver into subdirectory 2020-06-10 17:46:42 +02:00
init.c iommu/amd: Remove unused amd_iommus variable 2024-10-30 11:06:43 +01:00
io_pgtable_v2.c iommu/amd/pgtbl_v2: Take protection domain lock before invalidating TLB 2024-10-30 11:06:39 +01:00
io_pgtable.c iommu/amd: Fix corruption when mapping large pages from 0 2024-10-29 09:55:48 +01:00
iommu.c iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags() 2024-11-22 14:43:45 -04:00
Kconfig iommu/amd: Fix compilation error 2024-05-03 12:12:16 +02:00
Makefile iommu/amd: Initial SVA support for AMD IOMMU 2024-04-26 12:16:05 +02:00
pasid.c iommu: Make set_dev_pasid op support domain replacement 2024-11-08 14:04:58 +01:00
ppr.c iommu/amd: Fix Invalid wait context issue 2024-06-04 14:00:59 +02:00
quirks.c iommu/amd: Include PCI segment ID when initialize IOMMU 2022-07-07 09:37:51 +02:00