Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3906247ybz; Mon, 4 May 2020 11:54:15 -0700 (PDT) X-Google-Smtp-Source: APiQypICNLKKdrFFPvs0BFadifRTS/kKyHV1PifeFGCBlM1laL5m+pxwlvv0ysLxNRWKOEeuzSpV X-Received: by 2002:a50:f78c:: with SMTP id h12mr15050148edn.207.1588618455422; Mon, 04 May 2020 11:54:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588618455; cv=none; d=google.com; s=arc-20160816; b=Gp7Sx+apdA+TvEHCRlsuKzz4F9z1WIDyOhLyEXF6EWeny/PvlRB/b/zMHsRLXeCb0t MPF3FAR1Or/w6w+KFX8oee5PRliyaTFWaWvpvX/zmiUaDXiWQ7fLEQ5smhnf97lOkkQE wQMLGxk+WchiWT7o5UJVdq2fDyhA6qrqJAuYYnbcLIHkNBbRHn5l8fKPyHqAFIPYBkes n+hAglMAMYml61GjVLQiOYSt/mnXHJYLfAsAUPeTtUR9DkXzIGXu6tlD7YCf2hfmUpWi iyovBhBUYHkXrpudnfJAP6cTaNaVbETTdsE4vygAg9XIDc3f5wd1L7ZzaW3PGXxQPzuu vkKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zMmYw1d2Ou7Fmu4BdxDBAxu7QzyuGbxFKjCFLgslnts=; b=v7E/deBTiqFDqesbispSQEtxfCgqJKW3D32gTtBhSmOanb1X9tu+au8Kc+Ng8kAWd4 3BjQgExXqRhq5HNLIGd8X0/CHin0/lxnXJIUcpfVeZRPmsjRYqZNYpgHRrVSlD/wytyV jxlAStmvLpNTbLKMSS0Jxgp2eKcbfkCbfOmp+3g1SGzKflUR85xrblAFo5QbZkN67Tzg Mg4O4nKMRJ9vOxMK0+Gr+mAzHGQnxkGnKWUsu8rSRsuDKw0abOHP269F7JY21BvJ/25J UZpo61flwyrZsevEt0fmlUcJzvky4rmhzRE4z8G2OzgTaHQMsm+qpDWU8viLP9ZY8ybH CgWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="XLSwU/Qf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 34si7194519edc.238.2020.05.04.11.53.52; Mon, 04 May 2020 11:54:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="XLSwU/Qf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726891AbgEDSwa (ORCPT + 99 others); Mon, 4 May 2020 14:52:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:41440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725981AbgEDSwa (ORCPT ); Mon, 4 May 2020 14:52:30 -0400 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 100102073E; Mon, 4 May 2020 18:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588618349; bh=3Ha52XgoS8/4Yl319juPJCrmPW0Ttr1geD7MdSO8LIE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=XLSwU/Qf0ogTE0CtscTX5f6VBjWOx2GHPz/nrM/uaXYsnFyVNJw0uS9yz3IMupLFL eXG7oip5dn0LiQh4mKbZWQqMuMvlaVGB+BOoanqiAbtmBln2dKsPuUJf3EqcfBAurl tiXyeUeav9GizHRf/XhQXTUC5s7YkFuEPh0UKaa8= Received: by mail-oi1-f181.google.com with SMTP id o7so7617825oif.2; Mon, 04 May 2020 11:52:29 -0700 (PDT) X-Gm-Message-State: AGi0PuZEKizU2SRSTj+8FXU9CcQa5dPWfEwSHt0h3RvfgkuogELP45As cmqaIqVIJAQmx60ss9F3zBvNTfn8rVY9bmnt/w== X-Received: by 2002:aca:1904:: with SMTP id l4mr10035883oii.106.1588618348223; Mon, 04 May 2020 11:52:28 -0700 (PDT) MIME-Version: 1.0 References: <20200504175859.22606-1-elder@linaro.org> <20200504175859.22606-2-elder@linaro.org> In-Reply-To: <20200504175859.22606-2-elder@linaro.org> From: Rob Herring Date: Mon, 4 May 2020 13:52:15 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next v2 1/4] dt-bindings: net: add IPA iommus property To: Alex Elder Cc: David Miller , Evan Green , subashab@codeaurora.org, cpratapa@codeaurora.org, Bjorn Andersson , Andy Gross , devicetree@vger.kernel.org, netdev , linux-arm-msm , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 4, 2020 at 12:59 PM Alex Elder 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 > --- > 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