From patchwork Thu Dec 1 07:45:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "majun \(F\)" X-Patchwork-Id: 85972 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp577605qgi; Wed, 30 Nov 2016 23:46:37 -0800 (PST) X-Received: by 10.84.216.8 with SMTP id m8mr81570622pli.116.1480578397029; Wed, 30 Nov 2016 23:46:37 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a36si39683691pli.2.2016.11.30.23.46.36; Wed, 30 Nov 2016 23:46:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-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-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753276AbcLAHqf (ORCPT + 7 others); Thu, 1 Dec 2016 02:46:35 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:8918 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbcLAHqf (ORCPT ); Thu, 1 Dec 2016 02:46:35 -0500 Received: from 172.24.1.60 (EHLO szxeml426-hub.china.huawei.com) ([172.24.1.60]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DRN51381; Thu, 01 Dec 2016 15:46:11 +0800 (CST) Received: from localhost (10.177.249.226) by szxeml426-hub.china.huawei.com (10.82.67.181) with Microsoft SMTP Server id 14.3.235.1; Thu, 1 Dec 2016 15:46:03 +0800 From: Majun To: , , , , , , , , , , CC: , , Subject: [RFC PATCH 1/3]Binding: Add a new property string in ITS node to control the two-level route function Date: Thu, 1 Dec 2016 15:45:58 +0800 Message-ID: <1480578360-9268-2-git-send-email-majun258@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1480578360-9268-1-git-send-email-majun258@huawei.com> References: <1480578360-9268-1-git-send-email-majun258@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.177.249.226] X-CFilter-Loop: Reflected Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: MaJun Add the two-level-route property in ITS node. When this property string defined, two-level route(indirect) function will be enabled in ITS driver, otherwise disable it. Signed-off-by: MaJun --- Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 3 +++ 1 file changed, 3 insertions(+) -- 1.7.12.4 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt index 4c29cda..e9f4a9c 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt @@ -74,6 +74,8 @@ These nodes must have the following properties: which will generate the MSI. - reg: Specifies the base physical address and size of the ITS registers. +- two-level-route: This is an optional property which means enable the two level + route property when look up route table. The main GIC node must contain the appropriate #address-cells, #size-cells and ranges properties for the reg property of all ITS @@ -97,6 +99,7 @@ Examples: gic-its@2c200000 { compatible = "arm,gic-v3-its"; + two-level-route; msi-controller; #msi-cells = <1>; reg = <0x0 0x2c200000 0 0x200000>;