From patchwork Tue Jan 24 13:42:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shameerali Kolothum Thodi X-Patchwork-Id: 92355 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1718853qgi; Tue, 24 Jan 2017 05:44:49 -0800 (PST) X-Received: by 10.98.49.198 with SMTP id x189mr38800108pfx.20.1485265489866; Tue, 24 Jan 2017 05:44:49 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i80si19225515pfa.223.2017.01.24.05.44.49; Tue, 24 Jan 2017 05:44:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750983AbdAXNon (ORCPT + 7 others); Tue, 24 Jan 2017 08:44:43 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:19694 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbdAXNom (ORCPT ); Tue, 24 Jan 2017 08:44:42 -0500 Received: from 172.24.1.47 (EHLO SZXEML423-HUB.china.huawei.com) ([172.24.1.47]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DYH23319; Tue, 24 Jan 2017 21:43:13 +0800 (CST) Received: from [127.0.0.1] (10.203.177.212) by SZXEML423-HUB.china.huawei.com (10.82.67.154) with Microsoft SMTP Server id 14.3.235.1; Tue, 24 Jan 2017 21:43:02 +0800 Subject: [RFC 1/4] irqchip, gicv3-its: Add device tree binding for hisilicon 161010801 erratum References: <588625E3.9040703@huawei.com> To: , , CC: , , , , From: Shameerali Kolothum Thodi X-Forwarded-Message-Id: <588625E3.9040703@huawei.com> Message-ID: <588759E0.1010804@huawei.com> Date: Tue, 24 Jan 2017 13:42:56 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <588625E3.9040703@huawei.com> X-Originating-IP: [10.203.177.212] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.588759F2.00C2, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 413151c51cfee22ffd8adf4ffbb7b509 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This erratum describes the limitation of certain HiSilicon platforms to support the SMMU mappings for MSI transactions and on those platforms the MSI transactions has to be bypassed by SMMU. The IIDR register of the GICv3 ITS on these platforms are not properly populated to differentiate the hardware, hence describe it in device tree. Signed-off-by: shameer --- .../devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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..84af301 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt @@ -75,6 +75,12 @@ These nodes must have the following properties: - reg: Specifies the base physical address and size of the ITS registers. +Optional +- hisilicon,erratum-161010801 : A boolean property. Indicates the presence of + erratum 161010801, which says that these platforms doesn't support SMMU + mapping for MSI transactions and those transactions has to be bypassed + by SMMU. + The main GIC node must contain the appropriate #address-cells, #size-cells and ranges properties for the reg property of all ITS nodes.