From patchwork Thu Jun 12 05:08:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 31803 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3783B2054B for ; Thu, 12 Jun 2014 05:11:59 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id n16sf3956813oag.2 for ; Wed, 11 Jun 2014 22:11:58 -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:subject:date:message-id :in-reply-to:references:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=+cy3BhfRLGskrQC5ooPI8f+oRo7mFhffee8X3blVh+A=; b=VIo+hoeok9ngoMala+MraRd3uKicBA6VnFCRMQPsUV2gTuWWylGcRDJTUfKM+80Cgp GC8kKIKnsVqpNlcQPICo57azLt5Gb0SoJSCwQa7/dYeBnQxmQ6YWr4THDJlDcpCB2cvj SRbNHW2pBuLBUt8U3spYFuI3ttt7PDG7NTg7mwcwqmUM8M6a1aFyXcObZZZKz4GIT5o5 BD/ohr6HrGW/RM3u7Vrl29KDQ8SpfYXtegd6i2TDhYrwRlq8vOnW+fJnsRmiWiuk7scQ Q4yCKMSCOo/vfbndgoHBTNIV+1KP65T8oQJQFEB9b4nSQmnSZiHzyMN3ckd5xhZO02n4 Z3iA== X-Gm-Message-State: ALoCoQmIX2e0a6hIgK3oEeZ7mOc5DAKxWZUE6FhVG34pVYwtM8B9n6ZkDb1gP2FjXtZmX0SrvoOU X-Received: by 10.42.249.207 with SMTP id ml15mr20398310icb.21.1402549918353; Wed, 11 Jun 2014 22:11:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.138 with SMTP id n10ls2993578qgd.4.gmail; Wed, 11 Jun 2014 22:11:58 -0700 (PDT) X-Received: by 10.52.53.69 with SMTP id z5mr5794068vdo.42.1402549918222; Wed, 11 Jun 2014 22:11:58 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id gm7si14973616vec.4.2014.06.11.22.11.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 22:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id db11so1287871veb.12 for ; Wed, 11 Jun 2014 22:11:58 -0700 (PDT) X-Received: by 10.58.210.68 with SMTP id ms4mr14800190vec.6.1402549918019; Wed, 11 Jun 2014 22:11:58 -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.221.54.6 with SMTP id vs6csp373596vcb; Wed, 11 Jun 2014 22:11:57 -0700 (PDT) X-Received: by 10.140.81.16 with SMTP id e16mr54253qgd.110.1402549917580; Wed, 11 Jun 2014 22:11:57 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id k15si33912755qae.86.2014.06.11.22.11.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jun 2014 22:11:57 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WuxHW-0005ZW-40; Thu, 12 Jun 2014 05:10:34 +0000 Received: from szxga01-in.huawei.com ([119.145.14.64]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WuxHS-0004Fu-E6 for linux-arm-kernel@lists.infradead.org; Thu, 12 Jun 2014 05:10:31 +0000 Received: from 172.24.2.119 (EHLO szxeml212-edg.china.huawei.com) ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BWS62544; Thu, 12 Jun 2014 13:09:08 +0800 (CST) Received: from SZXEML421-HUB.china.huawei.com (10.82.67.160) by szxeml212-edg.china.huawei.com (172.24.2.181) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 12 Jun 2014 13:09:03 +0800 Received: from localhost (10.177.27.142) by szxeml421-hub.china.huawei.com (10.82.67.160) with Microsoft SMTP Server id 14.3.158.1; Thu, 12 Jun 2014 13:08:59 +0800 From: Zhen Lei To: Catalin Marinas , Will Deacon , linux-arm-kernel Subject: [PATCH RFC v2 3/3] documentation/iommu: Add description of Hisilicon SMMU private binding Date: Thu, 12 Jun 2014 13:08:12 +0800 Message-ID: <1402549692-5224-4-git-send-email-thunder.leizhen@huawei.com> X-Mailer: git-send-email 1.8.4.msysgit.0 In-Reply-To: <1402549692-5224-1-git-send-email-thunder.leizhen@huawei.com> References: <1402549692-5224-1-git-send-email-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.177.27.142] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140611_221031_008176_D0339EB8 X-CRM114-Status: UNSURE ( 7.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.4 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [119.145.14.64 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Cc: Xinwei Hu , Zefan Li , Zhen Lei X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.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.128.181 as permitted sender) smtp.mail=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 This patch adds a description of private properties for the Hisilicon System MMU architecture. Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/iommu/arm,smmu.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 1.8.0 diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree/bindings/iommu/arm,smmu.txt index f284b99..75b1351 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.txt +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.txt @@ -15,6 +15,7 @@ conditions. "arm,smmu-v2" "arm,mmu-400" "arm,mmu-500" + "hisilicon,smmu-v1" depending on the particular implementation and/or the version of the architecture implemented. @@ -54,6 +55,21 @@ conditions. aliases of secure registers have to be used during SMMU configuration. +** Hisilicon SMMU private properties: + +- smmu-force-memtype : A list of StreamIDs which not translate address but + translate attributes. The StreamIDs list here can not be + used for map(translation) mode again. + StreamID first, then the type list below: + 1, cahceable, WBRAWA, Normal outer and inner write-back + 2, non-cacheable, Normal outer and inner non-cacheable + 3, device, nGnRE + others, bypass + +- smmu-bypass-vmid : Specify which context bank is used for bypass mode. + If omit, vmid=255 is default. If bypass and map mode can + share a same S2CR, config vmid=0. + Example: smmu {