Re: [PATCH net-next v2 1/4] dt-bindings: net: add IPA iommus property

From: Rob Herring
Date: Mon May 04 2020 - 14:52:32 EST


On Mon, May 4, 2020 at 12:59 PM Alex Elder <elder@xxxxxxxxxx> wrote:
>
> The IPA accesses "IMEM" and main system memory through an SMMU, so
> its DT node requires an iommus property to define range of stream IDs
> it uses.
>
> Signed-off-by: Alex Elder <elder@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/net/qcom,ipa.yaml | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
> index 140f15245654..7b749fc04c32 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
> @@ -20,7 +20,10 @@ description:
> The GSI is an integral part of the IPA, but it is logically isolated
> and has a distinct interrupt and a separately-defined address space.
>
> - See also soc/qcom/qcom,smp2p.txt and interconnect/interconnect.txt.
> + See also soc/qcom/qcom,smp2p.txt and interconnect/interconnect.txt. See
> + iommu/iommu.txt and iommu/arm,smmu.yaml for more information about SMMU
> + bindings.

I'd drop this. We don't need every binding to reference back to common
bindings. And in theory, this binding is unrelated to the Arm SMMU.
Any IOMMU could be used.

With that,

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>