summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommu.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2024-04-19 17:54:44 +0100
committerJoerg Roedel <jroedel@suse.de>2024-04-26 12:07:25 +0200
commitad4750b07d3462ce29a0c9b1e88b2a1f9795290e (patch)
tree4ce8f88739fa5df29a5e5a15e273c5c7366b5c6e /drivers/iommu/iommu.c
parentfece6530bf4b59b01a476a12851e07751e73d69f (diff)
downloadlwn-ad4750b07d3462ce29a0c9b1e88b2a1f9795290e.tar.gz
lwn-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 'drivers/iommu/iommu.c')
0 files changed, 0 insertions, 0 deletions