Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6498882ybi; Mon, 8 Jul 2019 04:03:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFnAq7qzksi1MJVf5wyQVW+7BE8HNLI8Be07zzViBSz7z7PsOJek7M3UzmCZdHQvb/ly/g X-Received: by 2002:a17:90a:8c06:: with SMTP id a6mr24993947pjo.45.1562583801640; Mon, 08 Jul 2019 04:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562583801; cv=none; d=google.com; s=arc-20160816; b=Wnq/rExwe9xxofEcO77o+IhuvM5TUCEXuWImNpZ8WXSSdlM73UpfojKK7WE+7yUeDX 3Pb/CUWvS616Yb35erKR9EDGN9pZ+E/esbtXQU2O4rJyjayuUjMqdiR4VLrD1czyPS3W mBYP6Py230iwUcAldxzLD60joNkgQZkVcJfi53CLte4+QafBd7Z/G/Klj3wpleO86uoe UWFyAvjcHM3/cQUhZk9O3Xm4s0PKnkStDXM0KOS4eEFUNlTsJ+ilfWHQUigsaS7u7nRW 36dZA/iPswq+E1oC0RYbwB2Faspt9In8zWythJHmSBLhD8ZwGyVh5gMsZY+EiMfW8F5j S0zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ufg8IBHBWfD9bN+Lj1wtSMz0oMf9srhaeGjlvEEQ5p0=; b=JFzefTAtOmT7EBq+oTmT1r8SB4YzA74vWnRBdrQiTUmua1J8t3kyniPzk10CV+mRUJ jGQKG81036jFwcjC8Liv/NPrt9Fi6QRIGBb0kNBBnct4ztilvgm3JeRGFFDjsSV75SG3 09b1/+3i8w7EOqRat6qOr8Pv2Xxg4jE6VJr4Eer7Jk/0RpoGnOhZjGVrFzms3tkM73NI q/Qnv7EQbaah0qvVB26DouPAeThlbP829tVkFn4+QiCYxCjikZwPnWmkzV/FdD0EA/vs 5/JRgCaC+BZQ1zfsThb+wRNC4gds/ysGR90u3DvqD9fAi+M4H8aOPudGjL/Cg6cIo/td Br4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b93si18263400plb.11.2019.07.08.04.03.05; Mon, 08 Jul 2019 04:03:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728643AbfGHH6g (ORCPT + 99 others); Mon, 8 Jul 2019 03:58:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60256 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbfGHH6e (ORCPT ); Mon, 8 Jul 2019 03:58:34 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 268CB3092640; Mon, 8 Jul 2019 07:58:34 +0000 (UTC) Received: from [10.36.116.46] (ovpn-116-46.ams2.redhat.com [10.36.116.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BDBC018ACB; Mon, 8 Jul 2019 07:58:31 +0000 (UTC) Subject: Re: [PATCH 2/8] dt-bindings: document PASID property for IOMMU masters To: Jean-Philippe Brucker , will.deacon@arm.com Cc: joro@8bytes.org, robh+dt@kernel.org, mark.rutland@arm.com, robin.murphy@arm.com, jacob.jun.pan@linux.intel.com, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20190610184714.6786-1-jean-philippe.brucker@arm.com> <20190610184714.6786-3-jean-philippe.brucker@arm.com> From: Auger Eric Message-ID: <4a90dc21-e727-b2f6-1353-cb08babf0ec2@redhat.com> Date: Mon, 8 Jul 2019 09:58:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190610184714.6786-3-jean-philippe.brucker@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Mon, 08 Jul 2019 07:58:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jean, On 6/10/19 8:47 PM, Jean-Philippe Brucker wrote: > On Arm systems, some platform devices behind an SMMU may support the PASID > feature, which offers multiple address space. Let the firmware tell us > when a device supports PASID. > > Reviewed-by: Rob Herring > Signed-off-by: Jean-Philippe Brucker > --- > Previous discussion on this patch last year: > https://patchwork.ozlabs.org/patch/872275/ > I split PASID and stall definitions, keeping only PASID here. > --- > Documentation/devicetree/bindings/iommu/iommu.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iommu/iommu.txt b/Documentation/devicetree/bindings/iommu/iommu.txt > index 5a8b4624defc..3c36334e4f94 100644 > --- a/Documentation/devicetree/bindings/iommu/iommu.txt > +++ b/Documentation/devicetree/bindings/iommu/iommu.txt > @@ -86,6 +86,12 @@ have a means to turn off translation. But it is invalid in such cases to > disable the IOMMU's device tree node in the first place because it would > prevent any driver from properly setting up the translations. > > +Optional properties: > +-------------------- > +- pasid-num-bits: Some masters support multiple address spaces for DMA, by > + tagging DMA transactions with an address space identifier. By default, > + this is 0, which means that the device only has one address space. > + Reviewed-by: Eric Auger Thanks Eric > > Notes: > ====== >