From patchwork Fri Jun 26 19:10:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tirumalesh Chalamarla X-Patchwork-Id: 6682761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1A49CC05AC for ; Fri, 26 Jun 2015 19:14:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 474E120647 for ; Fri, 26 Jun 2015 19:14:00 +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 6E74B2063B for ; Fri, 26 Jun 2015 19:13:59 +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 1Z8Z1j-0001Sw-Px; Fri, 26 Jun 2015 19:11:03 +0000 Received: from mail-by2on0091.outbound.protection.outlook.com ([207.46.100.91] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z8Z1g-0001Ri-JT for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2015 19:11:01 +0000 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none; Received: from tiru-pc.caveonetworks.com (64.2.3.194) by SN1PR0701MB1792.namprd07.prod.outlook.com (10.162.100.146) with Microsoft SMTP Server (TLS) id 15.1.190.14; Fri, 26 Jun 2015 19:10:37 +0000 From: Tirumalesh Chalamarla To: , , Subject: [PATCH] GICv3: Add ITS entry to THUNDER dts Date: Fri, 26 Jun 2015 12:10:14 -0700 Message-ID: <1435345814-31768-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: SN1PR06CA0014.namprd06.prod.outlook.com (25.163.69.24) To SN1PR0701MB1792.namprd07.prod.outlook.com (25.162.100.146) X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1792; 2:NPK50qeMJEZ1MlMcujMRvu8scPXI97hFdyOZjQIpC0pHbx5yFX4SYCh0snxeDEH7; 2:jvrAwjPt8k2oAE4At6DB+QlUlvhxjVDgUkm4JMxYz4fYOq+taWqapjMTyKMIqEjqYtof82KhSftj0uzG0chdzhMK5D9glsSKSPaxBIyX97EVYnlYVHwP45qCl+dcX4mJ8dzJ1B1ds1hNtLkjvg3yVg==; 6:+zxJacRmH2a8hcXogdnCgtu6e/5GI4qDNYgLDwwrUGdljBG5t+dHlyDcmI4X7VhfG+HN7BASPnCeYb57K77+YF/A7wvmPh3wHBzLj+SzZgqjCyub/NN6+pPmoT7vL9nnI7atcsLNJw6Gqhd0v+z3XOJXkdwR+r0QzI7I/jQP1e1nLICO6nv9SRG7xyRTOFe9hKVhmCceW5OXGo+yacNdVbLlaGlGx7JOlxoPW4mO938hu/upJtrv/cFaQtfRZ0608lpjdGRSrpbTlQ0QAXakqnE06DTVMVKElUC8yXfJz1wimTVrLASdqwxXnGRzXdEysKpa5y7ImEP835SAXcBPU7Wj55ao3YFZvbVdT+gfMa8veYOwQcLzQOBLZD7l7JJTvn7HX+GwzrsMFfK3E5r3TdtYmVBnymFt/HC8L19uIEMOwVgeYf415yBJhKbc+TOKBDxQbOPyl/Tsw39HCA/c5sISlNT3WvCtyGlrWff6Xlsx5QYtupVjGV3YElaVv0VSi7dhP7FfQ6Nfh7oy0mzHhZJinfqgRNjCrN5qPQuROzPhAwiImluak0F0GboZUJ/kbaNiAHyQtYouITpHncbfdAQoixvks7njmQhMwDgEoQo= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0701MB1792; 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:SN1PR0701MB1792; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0701MB1792; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1792; 3:UlRjbRiO8KtoEg7ygScincxLETltiEJwlEXWAVDiQJiCDllGOv2ntvnGDoj9I+5rDyLzej/aQGr7R5zX8mjG7oE5PQi7WWWuwp/tMaq7DZQfw5MajSawYxi7AgqSpz+KesLqt1HjjkesHtrQVDdRNX8ITEpkrQURiLFijY0u1XlOUA0m7ItQTlQTqOBGZj5xqndEWbuI0PqL1HWzvzcMOGED7kk8ebX61Hr3chy27Ho0Xxjkilz4NYeKTCXe3Cg6xLlK3eThymdgxW/HH9u8CSkTqBB2B/1tM0Nj2XbnIgM= X-Forefront-PRVS: 0619D53754 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(77156002)(19580405001)(122386002)(5001960100002)(5001770100001)(19580395003)(42186005)(575784001)(50466002)(62966003)(40100003)(46102003)(229853001)(77096005)(53416004)(189998001)(47776003)(36756003)(50986999)(2201001)(66066001)(50226001)(33646002)(92566002)(87976001)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0701MB1792; H:tiru-pc.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1792; 9:8Q7xLWeltmT0SWiTqkrEoVfv5uAXlu9Z4qgQsrtsnv1IuXU8WWqXBtHnkDsNunMZdh78na0M6PNMIW01aYCno0Hfk+aTCvkcGnIMrVdeCzZVg/rudBGk3A/5NMlBjwgJcSfbEM1NH1MUFB84vs6jk5Gw6R9wV6rkMHUsiMTkmSI071k9oBVNgtR28sanMToNAHg/37NTiNpg3lK0VQge2OhYJGY+79P/viT0KepSVAzQYFTVmuVkys8UOHMnBuRaQm0L3Khqmq0s1ixi/gEV7J2Mzlb7ErojSbsaRyhQXAPI8Vsi+7kZP+9SuhSREqEtMsaSAHVkz2j7L8PcRxLjzVmC0hFuPYC4/+iNbnbayEH/bl8HoLxCUaW93vQU3DYC76FTRwaiC/9KsKlcW/Cr4xMa3Hzk2dcfK4Ug4FGcRY7qPDHTwjNNK8elR9jnZoR/+/85whX98wMnxyaxc1y3qGNQYVZtqvplw5mXXnF0t606Hd8epbPqSZsHOm1hrp0g2pMi7mACgpeY8eTY19PS8DcVoLcYXPwI13VClWCcFn2sjMGsv1ME8UJNjGwGeVqRohLRD0mV3KcR994E+RNdBwE/08cNDhFwt5rRDxeGfx2F4T2/FaXjt7JDS8AigO2a/YkDYjFlQp0rp897byg49noq3cuOtWltCblwCz/edGPVWlX118LD0IG/5ELPd9V4PMg9SvbBQZRv0QSnLCL+ZVJVlSz/WyluS5ZmGuR45fr88+3W5WydpiQbUDQBks0uKwtWM+YgUga2p3cTrxYfpg==; 3:5EIEbaiAx4YqOLWmpYQ78bHDeZP6+hUe/L8OoPEhYX2bcImw4AzUDtBoKzd/VJxaevnp9/O10y4cUTb989v9EiRcv6bxQgjL1wxg25IFcNl13Igkx5SGk7YJWJSzCrbhz1iL6i2sgB9AS8LSGhRJmg== X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1792; 10:rhxnRSg/lihV2oXG5qHi4WTRWUrn/Ypmaq5nc4XC83DsBaL8TxkMcqY1tChW7RmK5bRJ2Gu9dI0gHxyX4aBD0yN35zXfeRjPNX5daYUJIZs=; 6:IYk2lqNU366KYMUFJumejxceEjWEE2lIQrWL4qArbrtANyFq641C7dbtCpZ7Tz/b X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2015 19:10:37.4068 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0701MB1792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150626_121100_679334_EF03E5F3 X-CRM114-Status: UNSURE ( 2.85 ) 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 --- 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 {