I should say pure "scalable mode" logic. Above callbacks are notI am not following, these two functions are SVM functionality, not.dev_disable_feat = intel_iommu_dev_disable_feat,again, pure PASID management logic should be separated from SVM.
.is_attach_deferred =
intel_iommu_is_attach_deferred, .pgsize_bitmap =
INTEL_IOMMU_PGSIZES, +#ifdef CONFIG_INTEL_IOMMU_SVM
+ .sva_bind_gpasid = intel_svm_bind_gpasid,
+ .sva_unbind_gpasid = intel_svm_unbind_gpasid,
+#endif
pure PASID management which is already separated in ioasid.c
related to host SVM per se. They are serving gpasid requests from
guest side, thus part of generic scalable mode capability.