diff options
author | David Stevens <[email protected]> | 2021-09-29 11:32:58 +0900 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-09-29 12:50:25 +0200 |
commit | 2e727bffbe93750a13d2414f3ce43de2f21600d2 (patch) | |
tree | 07ed770280d80e0c5c69967ceeb945725c98fd39 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 9b49bbc2c4dfd0431bf7ff4e862171189cf94b7e (diff) |
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 <[email protected]>
Reviewed-by: Robin Murphy <[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 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions