Re: [PATCH v2 09/12] iommu: Move iopf_handler() to iommu-sva.c

From: Baolu Lu
Date: Thu Aug 03 2023 - 23:29:17 EST


On 2023/8/3 16:21, Tian, Kevin wrote:
From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
Sent: Thursday, July 27, 2023 1:49 PM

@@ -219,3 +219,52 @@ void mm_pasid_drop(struct mm_struct *mm)

ida_free(&iommu_global_pasid_ida, mm->pasid);
}
+
+static int iopf_complete_group(struct device *dev, struct iopf_fault *iopf,
+ enum iommu_page_response_code status)

iommu_sva_complete_iopf()

+
+static void iopf_handler(struct work_struct *work)
+{

iommu_sva_iopf_handler()


Ack to both.

Best regards,
baolu