From patchwork Fri Jun 26 19:12:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tirumalesh Chalamarla X-Patchwork-Id: 6682781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C2BE59F1C1 for ; Fri, 26 Jun 2015 19:14:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 035D920647 for ; Fri, 26 Jun 2015 19:14:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 157412063B for ; Fri, 26 Jun 2015 19:14:46 +0000 (UTC) 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 1Z8Z3e-0001oN-Kj; Fri, 26 Jun 2015 19:13:02 +0000 Received: from mail-bn1bon0673.outbound.protection.outlook.com ([2a01:111:f400:fc10::1:673] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z8Z3Z-0001h6-LP for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2015 19:12:58 +0000 Received: from SN1PR0701MB1790.namprd07.prod.outlook.com (10.162.100.144) by SN1PR0701MB2031.namprd07.prod.outlook.com (10.163.132.14) with Microsoft SMTP Server (TLS) id 15.1.190.14; Fri, 26 Jun 2015 19:12:35 +0000 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none; Received: from tiru-pc.caveonetworks.com (64.2.3.194) by SN1PR0701MB1790.namprd07.prod.outlook.com (10.162.100.144) with Microsoft SMTP Server (TLS) id 15.1.195.15; Fri, 26 Jun 2015 19:12:33 +0000 From: Tirumalesh Chalamarla To: , , Subject: [PATCH] GICv3: Add ITS entry to THUNDER dts Date: Fri, 26 Jun 2015 12:12:23 -0700 Message-ID: <1435345943-31833-1-git-send-email-tchalamarla@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 X-Originating-IP: [64.2.3.194] X-ClientProxiedBy: CO2PR06CA036.namprd06.prod.outlook.com (10.141.242.36) To SN1PR0701MB1790.namprd07.prod.outlook.com (25.162.100.144) X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1790; 2:ViRA1b3Qf57zRwzBkqHGBJS23S2xW+cPD1t5JN3ztplTk2WHczmsGhT0yHivEpYK; 3:lvbmxCMrgRseNRLXhqmuWDNAv63O8nr4SZLVtJrPnZQmeXj4eTt1R7App4Csze/QooQtOaziuUQ25PH5vChq20zibFGFZuGS2f91ycuk512GPIAkvUnViobYbP92fRXD0E4PpupytLep50EpDXER5g==; 20:FLmjTFqVSLuWWr+UGFv9INtVhAGRI89zMAjFpH+fbLLVpkAL0ZQW9P2eq6+51C6cvni3/zq9jXVdBaQkhZemZcBtuhnOkEuR3kvaMHCftyc1Sc+Q1eRpIJvHtXUK7ufEtiBnhJg417Nl/ngQ4pcMi1e/8P5Qk0r+N9fwhtr1dzJgdEFL7WTmBB69USXmv6kpt4tWcwIIPH8yH+yWQgoDxFqQ4LpezJgcAJY3/q3/I2DIDIxGPwiZw7ZyLB+CFfYyRZsDAAWDPqlq0H3jzfnpsSP5bbKz3JrEblTxWumPpOwhybchYS2/xreBGS5fNeBD1tI+XzXSmoLvYcPec4uoaDOK8fUmUkbVNk3bAR2eUrxoc5e/1KE4XyGr5H+wlyXWciI0it+Bx6mr86414fwx2VaudVbPpdInEeBF3Tsp3dglGE0f98LrMVIbuV2GdvI5w9VOjabzsdcRpbMcEbO4SRTQ/Icsco+1Kc7BsMAf/AILQANEqrA45TVkv3J3mtZ8vBB3yGIrURr0sOYGYvwb6dHOLMZB9wC4JlzWp/uQ2Tj7bSLMvSDltUgMiRbXoc32r3FOH7ucEDLhmfqJyL0a6RYO+Mk6tsbFFmACjm5m9Qw= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0701MB1790; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0701MB2031; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:SN1PR0701MB1790; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0701MB1790; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1790; 4:Us0c9k51mdJ12O970KDxrCv2RkzMLKp5o3IEPYT9RkJkycD9VahTCSLtXfLBh5T55HXXwixjyYHCEzhcsTFBHZ8VDRy0UY+1WIpi0Va/4gNm1J0hc7JTlMDGmoLggRmjgBhT9LfCXezu759f9ujd6gTkQktva29e6JrCHwIfnzzVzlAaVF/YH7f0hnv8QKaduuhd2vS6+L2nS+LJKeYcmBoISeJZcfNwhkmYMdVl2T6HUMbNEiagzZJY9poSt+P1qDluZfNTyInO8QoonYhmjjd3aQABJQ1XgCPvlOKvdxk= X-Forefront-PRVS: 0619D53754 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(92566002)(77156002)(62966003)(189998001)(42186005)(46102003)(53416004)(5001770100001)(66066001)(47776003)(5001960100002)(77096005)(122386002)(40100003)(19580405001)(19580395003)(2201001)(575784001)(33646002)(50466002)(229853001)(87976001)(50226001)(36756003)(50986999)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0701MB1790; H:tiru-pc.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1790; 23:bRWqTXnnnm2H5j6FOw+RKjPQZfa6IM1p44IAO7Wr9Z76wEl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uR+aEsLIv8YNGiLEhL5ke9SQijAhcVciIkNG/Y03VxP+hhzAPn80gqYCc0NA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2015 19:12:33.2798 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0701MB1790 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB2031; 2:KQCA0dZ6rP2ImAc2J7d1RewmJI+rWSPYBP4IvOvqQvZyJFheWmXFx3wpHyCSFZgz; 2:Wd2vpN+nAHH+pgEYKKaykawUY7OyarK6yydGIuLcZsuj2aEaIyQfXKixj8qR0yXJp4xmJxRXO2EtL7uiy4RwTt0fVJdhoV8o1lUpWSW0kzbo9fJSTxGIW3EVsG2YwQoHl2yTniH+0xEqa8EKHAK3Rg==; 9:+lt12uXgwp3dUD1NxylqCPxyuKq3NdXliBC/G0fCR8AhWZ5koGkVg9dGjr/AN2XyLVUnNt9MQUnJbcjekAb7EjdssGO68tWDoXW9kYD+QmIyMSz4m7tBkStV/90ZplXBoRFgFymD3PcDJXnmxelWNQ== X-OriginatorOrg: caviumnetworks.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150626_121257_879788_F2708FCF X-CRM114-Status: UNSURE ( 2.38 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: rrichter@cavium.com, devicetree@vger.kernel.org, Tirumalesh Chalamarla , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tirumalesh Chalamarla The PCIe host controller uses MSIs provided by GICv3 ITS. Enable it on Thunder SoCs by adding an entry to DT. Signed-off-by: Tirumalesh Chalamarla Acked-by: Marc Zyngier --- arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi index d8c0bdc..9cb7cf9 100644 --- a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi +++ b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi @@ -376,10 +376,19 @@ gic0: interrupt-controller@8010,00000000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>; + #address-cells = <2>; + #size-cells = <2>; + ranges; interrupt-controller; reg = <0x8010 0x00000000 0x0 0x010000>, /* GICD */ <0x8010 0x80000000 0x0 0x600000>; /* GICR */ interrupts = <1 9 0xf04>; + + its: gic-its@8010,00020000 { + compatible = "arm,gic-v3-its"; + msi-controller; + reg = <0x8010 0x20000 0x0 0x200000>; + }; }; uaa0: serial@87e0,24000000 {