From patchwork Thu Oct 15 08:30:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 54989 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lf0-f72.google.com (mail-lf0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id C7DB32301F for ; Thu, 15 Oct 2015 08:42:03 +0000 (UTC) Received: by lffv3 with SMTP id v3sf874951lff.1 for ; Thu, 15 Oct 2015 01:42:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=vVZYMNpyGkQ++YJcqWg5pMqtkJ/V6wwcZ9fxka7XuvY=; b=mdpv0fJWncABOSFKqAjXEQ0N2RWy8PFlIUYuF7B7mM1+tFWiTmDdbZvUXbNXl6vzzu 8irm15VaDbF7jCR7Idmz5dqslyI7pIYmolvMLTKFYMfo8NJ5TCldKdqm8xDRHzdDzwqR n610hZPhEGRWao7vr40JH34XkrnorpLyNTDhoVzRsGorLXqJfA7yBE6JyKHk+RCtuW2I 3BatP8N3KaAoy9Pcyl0ohA5ewqgjp2EPpIDUUWgz3EBWZYuJ8CMjF67YIVmosql2Ies6 CLLzQw/5uNA5paWKf62osXCN3jzPgeWpfxeKaXtx86s4uSz34BlzSC9AZY8sj0d9BMDd G3QA== X-Gm-Message-State: ALoCoQnV2kM0iXDgF1izqDmaahV8f5mmVhsAXkAgjydG/Ve6IP46/I9pZwYEd06L8nsB6Ah9d8Ee X-Received: by 10.112.190.74 with SMTP id go10mr1890297lbc.9.1444898522736; Thu, 15 Oct 2015 01:42:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.166.200 with SMTP id p191ls120244lfe.37.gmail; Thu, 15 Oct 2015 01:42:02 -0700 (PDT) X-Received: by 10.112.147.232 with SMTP id tn8mr3765497lbb.84.1444898522569; Thu, 15 Oct 2015 01:42:02 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id k90si8403484lfi.90.2015.10.15.01.42.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 01:42:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbwr8 with SMTP id r8so63518486lbw.2 for ; Thu, 15 Oct 2015 01:42:02 -0700 (PDT) X-Received: by 10.112.146.104 with SMTP id tb8mr3871430lbb.35.1444898522399; Thu, 15 Oct 2015 01:42:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp481402lbq; Thu, 15 Oct 2015 01:42:01 -0700 (PDT) X-Received: by 10.50.92.193 with SMTP id co1mr114066igb.28.1444898521492; Thu, 15 Oct 2015 01:42:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b69si10624525iob.208.2015.10.15.01.42.01; Thu, 15 Oct 2015 01:42:01 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752287AbbJOIlv (ORCPT + 30 others); Thu, 15 Oct 2015 04:41:51 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:36495 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752223AbbJOIlq (ORCPT ); Thu, 15 Oct 2015 04:41:46 -0400 Received: from 172.24.1.49 (EHLO szxeml433-hub.china.huawei.com) ([172.24.1.49]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CUG14551; Thu, 15 Oct 2015 16:36:29 +0800 (CST) Received: from localhost (10.177.23.164) by szxeml433-hub.china.huawei.com (10.82.67.210) with Microsoft SMTP Server id 14.3.235.1; Thu, 15 Oct 2015 16:36:19 +0800 From: Zhen Lei To: Catalin Marinas , Will Deacon , Joerg Roedel , linux-arm-kernel , iommu , Robin Murphy , Laurent Pinchart , linux-kernel CC: Zefan Li , Xinwei Hu , "Tianhong Ding" , Hanjun Guo , Zhen Lei Subject: [PATCH v4 5/5] iommu/arm-smmu: describe the limitation of #iommu-cells Date: Thu, 15 Oct 2015 16:30:47 +0800 Message-ID: <1444897847-18040-6-git-send-email-thunder.leizhen@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1444897847-18040-1-git-send-email-thunder.leizhen@huawei.com> References: <1444897847-18040-1-git-send-email-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.177.23.164] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: thunder.leizhen@huawei.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Only support #iommu-cells = <1>. Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt b/Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt index 947863a..4845d44 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt +++ b/Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt @@ -5,6 +5,12 @@ revisions, replacing the MMIO register interface with in-memory command and event queues and adding support for the ATS and PRI components of the PCIe specification. +Please read ./iommu.txt first, here list something special as below: + +** SMMUv3 limited properties: +- #iommu-cells : fixed to <1>. The pci root device is a special case, + its IDs can be omitted in dts, seems #iommu-cells = <0>. + ** SMMUv3 required properties: - compatible : Should include: