diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-07-02 14:34:38 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-07-04 13:46:18 +0100 |
commit | 8519e689834a3ecf9a36332a9abb1844bd34e459 (patch) | |
tree | bf9b947d33c972b11efe210add348d7b002fc1e4 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 06cdcc32d65759d42c6340700796e2906045b6a5 (diff) |
iommu: Extend domain attach group with handle support
Unlike the SVA case where each PASID of a device has an SVA domain
attached to it, the I/O page faults are handled by the fault handler
of the SVA domain. The I/O page faults for a user page table might
be handled by the domain attached to RID or the domain attached to
the PASID, depending on whether the PASID table is managed by user
space or kernel. As a result, there is a need for the domain attach
group interfaces to have attach handle support. The attach handle
will be forwarded to the fault handler of the user domain.
Add some variants of the domain attaching group interfaces so that they
could support the attach handle and export them for use in IOMMUFD.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240702063444.105814-5-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions