aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2023-04-13 12:06:29 +0800
committerJoerg Roedel <[email protected]>2023-04-13 12:05:46 +0200
commit84c9ef72b64d9bd0d8a219a75019ec4c2da77a08 (patch)
tree692f3f591bf9888992973d1891607c508f5749b0 /lib/test_fortify/write_overflow-strncpy-src.c
parente8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff)
dmaengine: idxd: Add enable/disable device IOPF feature
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 <[email protected]> Reviewed-by: Fenghua Yu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions