RE: [PATCH v3 5/8] iommufd: Associate fault object with iommufd_hw_pgtable

2024-02-07 Thread Tian, Kevin
> From: Lu Baolu > Sent: Monday, January 22, 2024 3:39 PM > > + > +int iommufd_fault_iopf_handler(struct iopf_group *group) > +{ > + struct iommufd_hw_pagetable *hwpt = group->cookie->domain- > >fault_data; > + struct iommufd_fault *fault = hwpt->fault; > + why not directly using iommufd

RE: [PATCH v3 1/8] iommu: Add iopf domain attach/detach/replace interface

2024-02-07 Thread Tian, Kevin
> From: Lu Baolu > Sent: Monday, January 22, 2024 3:39 PM > > There is a slight difference between iopf domains and non-iopf domains. > In the latter, references to domains occur between attach and detach; > While in the former, due to the existence of asynchronous iopf handling > paths, referenc