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

From: Rob Herring
Date: Mon Sep 02 2019 - 09:40:24 EST


On Thu, 29 Aug 2019 13:14:06 +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Cc: Frank Rowand <frowand.list@xxxxxxxxx>
> Cc: devicetree@xxxxxxxxxxxxxxx
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> ---
> drivers/iommu/of_iommu.c | 39 +++++++++++++++++++++++++++++++++++++++
> include/linux/of_iommu.h | 8 ++++++++
> 2 files changed, 47 insertions(+)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>