diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2023-04-13 07:06:31 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-04-13 13:05:47 +0300 |
commit | 3d4c7cc3d168dc728dd3472688b2360b6db124e3 (patch) | |
tree | 93c90348dc8edc1f617e149114b488a3b2015b2a /.mailmap | |
parent | a86fb7717320bf2c05701cbcfaab5afc452d1480 (diff) | |
download | linux-3d4c7cc3d168dc728dd3472688b2360b6db124e3.tar.xz |
iommu/vt-d: Move iopf code from SVA to IOPF enabling path
Generally enabling IOMMU_DEV_FEAT_SVA requires IOMMU_DEV_FEAT_IOPF, but
some devices manage I/O Page Faults themselves instead of relying on the
IOMMU. Move IOPF related code from SVA to IOPF enabling path.
For the device drivers that relies on the IOMMU for IOPF through PCI/PRI,
IOMMU_DEV_FEAT_IOPF must be enabled before and disabled after
IOMMU_DEV_FEAT_SVA.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20230324120234.313643-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions