Re: [PATCH v2 08/16] iommu: define and export iommu_access_remote_vm()

From: Baolu Lu
Date: Mon Mar 06 2023 - 20:42:53 EST


On 3/7/23 12:31 AM, Fenghua Yu wrote:
Define and export iommu_access_remote_vm() to allow IOMMU related
drivers to access user address space by PASID.

The IDXD driver would like to use it to write the user's completion
record that the hardware device is not able to write to due to user
page fault.

I don't quite follow here. Isn't I/O page fault already supported?

Best regards,
baolu