diff options
author | 2024-04-19 17:54:44 +0100 | |
---|---|---|
committer | 2024-04-26 12:07:25 +0200 | |
commit | ad4750b07d3462ce29a0c9b1e88b2a1f9795290e (patch) | |
tree | 4ce8f88739fa5df29a5e5a15e273c5c7366b5c6e /arch/mips/kernel | |
parent | dma-mapping: Add helpers for dma_range_map bounds (diff) | |
download | linux-ad4750b07d3462ce29a0c9b1e88b2a1f9795290e.tar.gz linux-ad4750b07d3462ce29a0c9b1e88b2a1f9795290e.tar.bz2 linux-ad4750b07d3462ce29a0c9b1e88b2a1f9795290e.zip |
iommu/dma: Make limit checks self-contained
It's now easy to retrieve the device's DMA limits if we want to check
them against the domain aperture, so do that ourselves instead of
relying on them being passed through the callchain.
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Tested-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/e28a114243d1e79eb3609aded034f8529521333f.1713523152.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions