From patchwork Mon Dec 9 18:05:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Philippe Brucker X-Patchwork-Id: 181072 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4693597ile; Mon, 9 Dec 2019 10:12:02 -0800 (PST) X-Google-Smtp-Source: APXvYqwtHN1QyXmHakKOaOsdgC77cA7wMYfEYnfigqSjktQODoMxAn1ml23Q0g8n5+OOJ9bKDbwE X-Received: by 2002:a05:6830:1db3:: with SMTP id z19mr23799488oti.152.1575915122047; Mon, 09 Dec 2019 10:12:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575915122; cv=none; d=google.com; s=arc-20160816; b=jnRe3yW45Zxa/wyCMRBuXtRHkP9O6mYBeQ7MQmOOEksw5DrKOYy12vaoWKIA9spuXh xBag4vJM2sU1IAnHyqhAoj9J5c8XbZNty0dTwjrVFi4wD+R38xEiFqxSAt/7dEREk3WS Xpgy1vj9Nde0fYh5MgMbrgd6nIend/jHEeG85Z/U1SP8fwmzcFe4Rubo25JooTi5RfOZ 6DZi+Wyr7Z26nOLwJ3+17okB1wEwjwyx+woz4nj+DVO4CB1+TscvViW4VHgiZeo6D7vN NF2V/FqsfZyV9mBpDQiCm/4UyTa77jVW8i2pTeWjOxITZb+UhUuyPBAzKspvUOrN6g/2 Ydpg== 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 :dkim-signature; bh=KOPwmsVGim8uksddBYEL5Xr/XEk+fQ6sygiouqBeFpU=; b=l7h00qSOmEvGk2aS3bZkKbTSlKcbuDIgeS5OgkzKHKV9JdWMtJOspktXPirOqiZO2T lMZw7uXtRNCj7wQGzNEdgRBu+m9zjwx0U0AeWzvls21Xxw9ocOTtlDTgVbhJVsYrg3EN AFbZNBf+xIwKJEKOJLlo2XEdWN7h3MmBBA2ksvHKf+iOMGCEggSqf7jfYPMLSb5r6Y7R I8Qc9eqr0Gw39KCo3nq3FtrvN3vZPFFxw7eiIcsh91ny+1304E04k7FaM+7f2e17NKBv jwWKCanp2kJsSie3b6ERzdqjr7fKyWZkTKpgpSkNqEHKo1ptUt4V0bACeRUB95dliBSq 1i/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Tts/uxwA"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90si250245oty.278.2019.12.09.10.12.01; Mon, 09 Dec 2019 10:12:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Tts/uxwA"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726687AbfLISMB (ORCPT + 8 others); Mon, 9 Dec 2019 13:12:01 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33143 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726673AbfLISMA (ORCPT ); Mon, 9 Dec 2019 13:12:00 -0500 Received: by mail-wr1-f67.google.com with SMTP id b6so17303513wrq.0 for ; Mon, 09 Dec 2019 10:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KOPwmsVGim8uksddBYEL5Xr/XEk+fQ6sygiouqBeFpU=; b=Tts/uxwAulwDWx38JQ7vQN1vchjW9BMQPwqFcz5u8er0ybt0fOUvBHt+WEAB24gXyc BlO6xJwA59upCQs0IseN693yMmNMgDbbFgWrWiT8ZWofkwrA7Seq9O/D4Gx//cyDdaGE /guIbq5MoYH70/5n63vUCderClZlhJs3YBa2U9WpDRuoNG3S47hAE8+Ww4p9KU6i+ziJ sceo5n1ghS7WbisS3mMyOWUi5Kf2+viwAkPdhnJOYSbUXUfLBHgRWi46jnVUHnae9E52 Wr8TWOQ6BMPwQ+bvP0D1ypo0U6Cun3Y1noijEKy7UPoDC+Idhr8iP2SN8THAoGBBnKww bVHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KOPwmsVGim8uksddBYEL5Xr/XEk+fQ6sygiouqBeFpU=; b=ja+5UTDCLjuFNl6kD/GO5jYaGZ23gjhAmPVMxF4L9e87r+B4FvzbX94Ma/mfTeyFge mzPSC3k8Mg2JVbdVjDIh5KTNFgXQL0XDfjtua0g1yqLhlgA9oTO5HtRNuNBX1sIMy7Aw 1WHIEwZgVpdd4sYQivaAWTVIjuI8/t9C9jcz6+5wvuRKXXT7Z8EfrZyr690QjzPwQ0RH pltvOwMzdwTpW5tWPnK0RmXWS81ElYUKOOXJMdNPhxqi5HI6nTgs9VU0RjYx0ZLtmdit Gu+7/f4gi4MhfG0aQkx26W5eGPcrhda7Q8LX9R4+ie+lgpF3rUmvPsOGC5STQbSM+juI Ud/Q== X-Gm-Message-State: APjAAAVYSWWhO8JOCQKRXucctF/VMVWLXr3Gjv0DrbBd5WEJALG55h7L 5zc5Mtr9kf/wkVXbsNecRmo8hw== X-Received: by 2002:adf:f581:: with SMTP id f1mr3704624wro.264.1575915118236; Mon, 09 Dec 2019 10:11:58 -0800 (PST) Received: from localhost.localdomain (adsl-62-167-101-88.adslplus.ch. [62.167.101.88]) by smtp.gmail.com with ESMTPSA id h2sm309838wrv.66.2019.12.09.10.11.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 10:11:57 -0800 (PST) From: Jean-Philippe Brucker To: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org, iommu@lists.linux-foundation.org Cc: joro@8bytes.org, robh+dt@kernel.org, mark.rutland@arm.com, lorenzo.pieralisi@arm.com, guohanjun@huawei.com, sudeep.holla@arm.com, rjw@rjwysocki.net, lenb@kernel.org, will@kernel.org, robin.murphy@arm.com, bhelgaas@google.com, eric.auger@redhat.com, jonathan.cameron@huawei.com, zhangfei.gao@linaro.org Subject: [PATCH v3 02/13] dt-bindings: document PASID property for IOMMU masters Date: Mon, 9 Dec 2019 19:05:03 +0100 Message-Id: <20191209180514.272727-3-jean-philippe@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191209180514.272727-1-jean-philippe@linaro.org> References: <20191209180514.272727-1-jean-philippe@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 Reviewed-by: Eric Auger Signed-off-by: Jean-Philippe Brucker --- Documentation/devicetree/bindings/iommu/iommu.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.24.0 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: ======