Re: [PATCH 1/2] iommu: Implement of_iommu_get_resv_regions()

Rob Herring
2019-09-02T13:40:24Z

On Thu, 29 Aug 2019 13:14:06 +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> This is an implementation that IOMMU drivers can use to obtain reserved
> memory regions from a device tree node. It uses the reserved-memory DT
> bindings to find the regions associated with a given device. These
> regions will be used to create 1:1 mappings in the IOMMU domain that
> the devices will be attached to.
>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Frank Rowand <frowand.list@gmail.com>
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> drivers/iommu/of_iommu.c | 39 +++++++++++++++++++++++++++++++++++++++
> include/linux/of_iommu.h | 8 ++++++++
> 2 files changed, 47 insertions(+)
>

Reviewed-by: Rob Herring <robh@kernel.org>