From patchwork Wed Sep 24 15:37:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Richter X-Patchwork-Id: 4967731 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BA1289F3DF for ; Wed, 24 Sep 2014 15:39:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 80C052026F for ; Wed, 24 Sep 2014 15:39:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4DFB32020F for ; Wed, 24 Sep 2014 15:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753957AbaIXPjl (ORCPT ); Wed, 24 Sep 2014 11:39:41 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:65025 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752089AbaIXPiF (ORCPT ); Wed, 24 Sep 2014 11:38:05 -0400 Received: by mail-wi0-f177.google.com with SMTP id q5so7560487wiv.10 for ; Wed, 24 Sep 2014 08:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=t6p1WDHKd7t500c/bq3cBeojb1QzLQgiaC/8s/rEAxg=; b=YTRWWo6VVnxhy+TPgTB7M2j6GhYPAwLMXPMPOoljBSYi0iWpjpYPKsU5aCSt7jDjZP CvxmTWIqwh+U+/l+vIUfs9Uq2vRHMYpEUJ1zVRQ0DERh5b6gWJ3yzv5qEfEIU0XL6BQo gA0hTdWiYam7e26qR309gyQozL6Y55VefeGwzAbWExG+o5opBzrA2uW/Ch0ge/O62w4W shIp2HeVyaqEyGkTut7tNtygXiFYu93/qlPSTXR2fxdDVtMEoxCNOhUAR1QIjEYau6Z8 wuAI7mlGvJcESlPFV6cClX3fn8JrGclZLBP8cWrjPh7YD4o7thHYZSkhMPq7pi66SJ+C ymrw== X-Received: by 10.194.189.115 with SMTP id gh19mr8465900wjc.119.1411573083736; Wed, 24 Sep 2014 08:38:03 -0700 (PDT) Received: from rric.localhost (f053087200.adsl.alicedsl.de. [78.53.87.200]) by mx.google.com with ESMTPSA id ky3sm19788016wjb.39.2014.09.24.08.38.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Sep 2014 08:38:03 -0700 (PDT) From: Robert Richter To: Bjorn Helgaas , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon Cc: Liviu Dudau , Arnd Bergmann , Sunil Goutham , linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Tirumalesh Chalamarla , Robert Richter , devicetree@vger.kernel.org Subject: [PATCH 2/6] GICv3: Add ITS entry to THUNDER dts Date: Wed, 24 Sep 2014 17:37:44 +0200 Message-Id: <1411573068-12952-3-git-send-email-rric@kernel.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411573068-12952-1-git-send-email-rric@kernel.org> References: <1411573068-12952-1-git-send-email-rric@kernel.org> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Signed-off-by: Robert Richter --- arch/arm64/boot/dts/thunder-88xx.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/thunder-88xx.dtsi b/arch/arm64/boot/dts/thunder-88xx.dtsi index d8c0bdc51882..9cb7cf94284a 100644 --- a/arch/arm64/boot/dts/thunder-88xx.dtsi +++ b/arch/arm64/boot/dts/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 {