aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorDavid Stevens <[email protected]>2021-09-29 11:32:59 +0900
committerJoerg Roedel <[email protected]>2021-09-29 12:50:34 +0200
commite81e99bacc9f9347bda7808a949c1ce9fcc2bbf4 (patch)
treea32ae98bfc2d166e2eb38dff191cddee25e72d63 /tools/perf/scripts/python/Perf-Trace-Util
parent2e727bffbe93750a13d2414f3ce43de2f21600d2 (diff)
swiotlb: Support aligned swiotlb buffers
Add an argument to swiotlb_tbl_map_single that specifies the desired alignment of the allocated buffer. This is used by dma-iommu to ensure the buffer is aligned to the iova granule size when using swiotlb with untrusted sub-granule mappings. This addresses an issue where adjacent slots could be exposed to the untrusted device if IO_TLB_SIZE < iova granule < PAGE_SIZE. Signed-off-by: David Stevens <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions