linux-stable/drivers/iommu/intel
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
..
cache.c iommu/vt-d: Introduce batched cache invalidation 2024-09-02 18:15:03 +02:00
cap_audit.c iommu/vt-d: Remove virtual command interface 2023-03-31 10:03:21 +02:00
cap_audit.h iommu/vt-d: Check FL and SL capability sanity in scalable mode 2021-10-18 12:31:48 +02:00
debugfs.c iommu/vt-d: Remove debugfs use of private data field 2024-04-26 11:57:38 +02:00
dmar.c iommu/vt-d: Remove unused dmar_msi_read 2024-11-05 13:32:21 +01:00
iommu.c iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags() 2024-11-22 14:43:45 -04:00
iommu.h iommu: Add ops->domain_alloc_nested() 2024-11-22 14:43:45 -04:00
irq_remapping.c iommu/vt-d: Use PCI_DEVID() macro 2024-11-05 13:32:19 +01:00
Kconfig iommu/vt-d: Move IOMMU_IOPF into INTEL_IOMMU 2024-11-05 13:32:26 +01:00
Makefile iommu/vt-d: Separate page request queue from SVM 2024-11-05 13:32:24 +01:00
nested.c iommu: Add ops->domain_alloc_nested() 2024-11-22 14:43:45 -04:00
pasid.c iommu/vt-d: Add pasid replace helpers 2024-11-08 14:04:52 +01:00
pasid.h iommu/vt-d: Add iommu_domain_did() to get did 2024-11-08 14:04:53 +01:00
perf.c iommu/vt-d: Use kcalloc() instead of kzalloc() 2024-03-01 13:51:18 +01:00
perf.h iommu/vt-d: Remove debugfs use of private data field 2024-04-26 11:57:38 +02:00
perfmon.c iommu/vt-d: Clean up cpumask and hotplug for perfmon 2024-09-10 11:44:13 +02:00
perfmon.h iommu/vt-d: Add IOMMU perfmon support 2023-02-03 11:06:06 +01:00
prq.c iommu/vt-d: Drain PRQs when domain removed from RID 2024-11-05 13:32:27 +01:00
svm.c iommu/vt-d: Make intel_svm_set_dev_pasid() support domain replacement 2024-11-08 14:04:55 +01:00
trace.c iommu/vt-d: Move trace/events/intel_iommu.h under iommu 2022-07-15 10:21:28 +02:00
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00