Searched refs:sva (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/dma/idxd/ |
D | cdev.c | 39 struct iommu_sva *sva; member 79 struct iommu_sva *sva; in idxd_cdev_open() local 103 sva = iommu_sva_bind_device(dev, current->mm, NULL); in idxd_cdev_open() 104 if (IS_ERR(sva)) { in idxd_cdev_open() 105 rc = PTR_ERR(sva); in idxd_cdev_open() 110 pasid = iommu_sva_get_pasid(sva); in idxd_cdev_open() 112 iommu_sva_unbind_device(sva); in idxd_cdev_open() 117 ctx->sva = sva; in idxd_cdev_open() 123 iommu_sva_unbind_device(sva); in idxd_cdev_open() 165 if (ctx->sva) in idxd_cdev_release() [all …]
|
D | init.c | 31 static bool sva = true; variable 32 module_param(sva, bool, 0644); 33 MODULE_PARM_DESC(sva, "Toggle SVA support on/off"); 507 struct iommu_sva *sva; in idxd_enable_system_pasid() local 511 sva = iommu_sva_bind_device(&idxd->pdev->dev, NULL, &flags); in idxd_enable_system_pasid() 512 if (IS_ERR(sva)) { in idxd_enable_system_pasid() 514 "iommu sva bind failed: %ld\n", PTR_ERR(sva)); in idxd_enable_system_pasid() 515 return PTR_ERR(sva); in idxd_enable_system_pasid() 518 pasid = iommu_sva_get_pasid(sva); in idxd_enable_system_pasid() 520 iommu_sva_unbind_device(sva); in idxd_enable_system_pasid() [all …]
|
D | idxd.h | 285 struct iommu_sva *sva; member
|
/linux-6.1.9/drivers/iommu/intel/ |
D | svm.c | 32 #define to_intel_svm_dev(handle) container_of(handle, struct intel_svm_dev, sva) 370 sdev->sva.dev = dev; in intel_svm_bind_mm() 390 return &sdev->sva; in intel_svm_bind_mm() 794 struct iommu_sva *sva; in intel_svm_bind() local 823 sva = intel_svm_bind_mm(iommu, dev, mm, flags); in intel_svm_bind() 826 return sva; in intel_svm_bind() 829 void intel_svm_unbind(struct iommu_sva *sva) in intel_svm_unbind() argument 831 struct intel_svm_dev *sdev = to_intel_svm_dev(sva); in intel_svm_unbind() 838 u32 intel_svm_get_pasid(struct iommu_sva *sva) in intel_svm_get_pasid() argument 844 sdev = to_intel_svm_dev(sva); in intel_svm_get_pasid()
|
D | iommu.h | 769 struct iommu_sva sva; member
|
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3-sva.c | 28 struct iommu_sva sva; member 36 container_of(handle, struct arm_smmu_bond, sva) 339 return &bond->sva; in __arm_smmu_sva_bind() 353 bond->sva.dev = dev; in __arm_smmu_sva_bind() 363 return &bond->sva; in __arm_smmu_sva_bind()
|
D | Makefile | 4 arm_smmu_v3-objs-$(CONFIG_ARM_SMMU_V3_SVA) += arm-smmu-v3-sva.o
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-address.h | 112 } sva; member 210 } sva; member
|
/linux-6.1.9/Documentation/x86/ |
D | index.rst | 40 sva
|
/linux-6.1.9/drivers/iommu/ |
D | Makefile | 31 obj-$(CONFIG_IOMMU_SVA) += iommu-sva-lib.o io-pgfault.o
|
/linux-6.1.9/Documentation/admin-guide/ |
D | kernel-parameters.txt | 1854 idxd.sva= [HW]
|