diff options
author | Zhen Lei <[email protected]> | 2021-07-12 19:12:19 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-07-26 13:27:38 +0200 |
commit | 02252b3bfe9f98770a8d902925711676ff5bd766 (patch) | |
tree | 37d392700b92050d9f12ca8d6d1bba5f766f2c2d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d0e108b8e962e0aae65dc74ffda63b93b6ef32f4 (diff) |
iommu/amd: Add support for IOMMU default DMA mode build options
Make IOMMU_DEFAULT_LAZY default for when AMD_IOMMU config is set, which
matches current behaviour.
For "fullflush" param, just call iommu_set_dma_strict(true) directly.
Since we get a strict vs lazy mode print already in iommu_subsys_init(),
and maintain a deprecation print when "fullflush" param is passed, drop the
prints in amd_iommu_init_dma_ops().
Finally drop global flag amd_iommu_unmap_flush, as it has no longer has any
purpose.
[jpg: Rebase for relocated file and drop amd_iommu_unmap_flush]
Signed-off-by: Zhen Lei <[email protected]>
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions