]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu: dma: Use of_iommu_get_resv_regions()
authorThierry Reding <treding@nvidia.com>
Fri, 20 Jan 2023 17:42:51 +0000 (18:42 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 25 Jan 2023 10:48:29 +0000 (11:48 +0100)
commit5cef282e295f7cf623672470d040716d1e3eacf2
treecda25bacca5dec70920e8e22765bfd88cf4dc8c1
parenta5bf3cfce8cb77d9d24613ab52d520896f83dd48
iommu: dma: Use of_iommu_get_resv_regions()

For device tree nodes, use the standard of_iommu_get_resv_regions()
implementation to obtain the reserved memory regions associated with a
device.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: devicetree@vger.kernel.org
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20230120174251.4004100-5-thierry.reding@gmail.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c