Messages in this thread | | | From | "Tian, Kevin" <> | Subject | RE: [PATCH v3 5/8] iommufd: Associate fault object with iommufd_hw_pgtable | Date | Wed, 7 Feb 2024 08:14:45 +0000 |
| |
> From: Lu Baolu <baolu.lu@linux.intel.com> > 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_fault as the fault_data?
| |