Messages in this thread | | | From | "Tian, Kevin" <> | Subject | RE: [PATCH v2 1/5] dmaengine: idxd: Add enable/disable device IOPF feature | Date | Thu, 16 Mar 2023 07:08:11 +0000 |
| |
> From: Lu Baolu <baolu.lu@linux.intel.com> > Sent: Thursday, March 9, 2023 10:57 AM > > The iommu subsystem requires IOMMU_DEV_FEAT_IOPF must be enabled > before > and disabled after IOMMU_DEV_FEAT_SVA, if device's I/O page faults rely > on the IOMMU. Add explicit IOMMU_DEV_FEAT_IOPF enabling/disabling in > this > driver. > > At present, missing IOPF enabling/disabling doesn't cause any real issue, > because the IOMMU driver places the IOPF enabling/disabling in the path > of SVA feature handling. But this may change. > > Reviewed-by: Dave Jiang <dave.jiang@intel.com> > Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
| |