diff options
author | John Garry <[email protected]> | 2022-07-14 19:15:25 +0800 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-07-19 06:05:45 +0200 |
commit | 6d9870b7e5def2450e21316515b9efc0529204dd (patch) | |
tree | abaca6c6f44208643e0c36705199c3ff9ff0dc80 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | a229cc14f3395311b899e5e582b71efa8dd01df0 (diff) |
dma-iommu: add iommu_dma_opt_mapping_size()
Add the IOMMU callback for DMA mapping API dma_opt_mapping_size(), which
allows the drivers to know the optimal mapping limit and thus limit the
requested IOVA lengths.
This value is based on the IOVA rcache range limit, as IOVAs allocated
above this limit must always be newly allocated, which may be quite slow.
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Acked-by: Robin Murphy <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions