Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3532676ybi; Mon, 10 Jun 2019 11:53:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUcoqtS/+rAc5tDQo0fhM+zoBZ74hsuy3tHh285AoI3+IS3XdkGmh74UUVp5bYp6EQYTik X-Received: by 2002:a63:c106:: with SMTP id w6mr17044044pgf.422.1560192807841; Mon, 10 Jun 2019 11:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560192807; cv=none; d=google.com; s=arc-20160816; b=YMZ5LKI0PhwndwJhnHxU8rolHW4sKzRSyewVB+/3RBbV1k/OT86sNTUxH0gYy1EudZ Fxq2343/gKQfli8RPyMkcQ4XiDW/BFBZAyOzG3xebqJ5aUADjR22bf2Pg3HCoJ+Gg7t9 UqBnfZlmGM+GhSVyJyLQ7RwYKGEn6oTSa/DO7GgS6/3OQqRV2aijGqKPx7LF3YtC5hT2 /mbCqDg43+BoprfpSk1cveBatViCx20LsMq2MR+5TA5QJ0zcCeW8gD+WVbAN5NEkavNa nsu1WtOTp84MTudg3opgAHLF1VVumdPNfwhh5LHUurGerVjxONJpLNe+gBEhISJrtwL3 /Yhw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1dMQ8koKQ/9nPoveLA0cLmM/c4DwppANh8mkmPiq0BI=; b=ez7/B4E112E1zqixHIlWd2QDfUeGMEuQVrDHADn9KYM4ZZDncPnm0Zq/XZaUGndlVS 6Jzu16YxXoUsNDuA5pNZyfyCHuoag1rOLQentG333CyevBGoMWhIJte8jub+XhwUULu4 Khjt7iEvHV34uosLFm4vVFS7LyI9ZaEZo/xb1aWNNWJ5FHJHFn8Kpft/17mm97qimpsR SBdDgZn9s4hcsPY2o/7SgimWwfd9VSBwAuhiUObM6DeZIrrbCeIj37KK9k3cB0ijtHe6 p+XYx0AENGRBNBaPNLb0/i8BqT2qsgsXt6iWl8blOSFHiVGeY6ZQPotds0UeL1e8E/Yw lxAA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b26si10510147pgl.407.2019.06.10.11.53.12; Mon, 10 Jun 2019 11:53:27 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388813AbfFJSvx (ORCPT + 99 others); Mon, 10 Jun 2019 14:51:53 -0400 Received: from foss.arm.com ([217.140.110.172]:47542 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388544AbfFJSvw (ORCPT ); Mon, 10 Jun 2019 14:51:52 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1C646C15; Mon, 10 Jun 2019 11:51:52 -0700 (PDT) Received: from ostrya.cambridge.arm.com (ostrya.cambridge.arm.com [10.1.196.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A12A93F246; Mon, 10 Jun 2019 11:51:50 -0700 (PDT) From: Jean-Philippe Brucker To: 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, eric.auger@redhat.com Subject: [PATCH 2/8] dt-bindings: document PASID property for IOMMU masters Date: Mon, 10 Jun 2019 19:47:08 +0100 Message-Id: <20190610184714.6786-3-jean-philippe.brucker@arm.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190610184714.6786-1-jean-philippe.brucker@arm.com> References: <20190610184714.6786-1-jean-philippe.brucker@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. + Notes: ====== -- 2.21.0