diff options
author | 2021-09-29 11:32:58 +0900 | |
---|---|---|
committer | 2021-09-29 12:50:25 +0200 | |
commit | 2e727bffbe93750a13d2414f3ce43de2f21600d2 (patch) | |
tree | 07ed770280d80e0c5c69967ceeb945725c98fd39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/dma: Fold _swiotlb helpers into callers (diff) | |
download | wireguard-linux-2e727bffbe93750a13d2414f3ce43de2f21600d2.tar.xz wireguard-linux-2e727bffbe93750a13d2414f3ce43de2f21600d2.zip |
iommu/dma: Check CONFIG_SWIOTLB more broadly
Introduce a new dev_use_swiotlb function to guard swiotlb code, instead
of overloading dev_is_untrusted. This allows CONFIG_SWIOTLB to be
checked more broadly, so the swiotlb related code can be removed more
aggressively.
Signed-off-by: David Stevens <stevensd@chromium.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210929023300.335969-6-stevensd@google.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions