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: 9455547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AF19A6074E for ; Thu, 1 Dec 2016 07:46:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0FC028484 for ; Thu, 1 Dec 2016 07:46:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 936C02849C; Thu, 1 Dec 2016 07:46:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA9EB28484 for ; Thu, 1 Dec 2016 07:46:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753276AbcLAHqf (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>;