From patchwork Thu Mar 13 17:40:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 3827751 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 77459BF540 for ; Thu, 13 Mar 2014 17:47:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9538A201FD for ; Thu, 13 Mar 2014 17:47:34 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 32B40201F4 for ; Thu, 13 Mar 2014 17:47:33 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WO9ia-0000w1-7L; Thu, 13 Mar 2014 17:46:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WO9iF-0000bn-1w; Thu, 13 Mar 2014 17:46:35 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WO9iC-0000aM-2C for linux-arm-kernel@lists.infradead.org; Thu, 13 Mar 2014 17:46:32 +0000 Received: by mail-pb0-f49.google.com with SMTP id jt11so1423318pbb.22 for ; Thu, 13 Mar 2014 10:46:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=G/P/HN+9EYgqqRn8GN+K1gscjOF6UcdZp3hq4bV24Js=; b=X4XPLBdh6aXKrN47ck6iIlDoujsUwNhMPqpVORI+pMA/0+zT5iDLsAxUjBxowWUvya fkIwuW7KRaLI+f1QDEUQSXH2Ur/CMtW23mKIdgCybwyA0je9exkzGjQn7Avm+FEYx3w4 3fmw73MwBow6+8S1Rxbx6txLl8llOWsGgmIGxtu8mDEculL8Gpb7pF8sXZyM81F4p7rY viVT9TcgAvp2OdjMGMnrJMyEQqkQm9Xj9jjldkASD/axow796bPeKC7c3bGPHSFs9I8F NAkiM6ivA4OUXXYvPuu7gaOMaS7b/oqCQViLxlrGwQy+ybh+lZdw11t5e+rUN6I8DfDF g2rg== X-Gm-Message-State: ALoCoQmhCgM2lvvmiBUwEFApqXg4Wqv3zD4MI+7a+QObFMpJXU8fJpyqs81HBPCh8ETQ3EWWbIMU X-Received: by 10.66.156.137 with SMTP id we9mr4049633pab.30.1394732420563; Thu, 13 Mar 2014 10:40:20 -0700 (PDT) Received: from localhost.localdomain (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by mx.google.com with ESMTPSA id bc4sm8911434pbb.2.2014.03.13.10.40.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 10:40:19 -0700 (PDT) From: Tim Harvey To: linux-pci@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: imx: fix invalid #address-cells value Date: Thu, 13 Mar 2014 10:40:05 -0700 Message-Id: <1394732405-2260-3-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394732405-2260-1-git-send-email-tharvey@gateworks.com> References: <1394732405-2260-1-git-send-email-tharvey@gateworks.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140313_134632_178005_D217B300 X-CRM114-Status: GOOD ( 11.27 ) X-Spam-Score: -2.6 (--) Cc: Mark Rutland , Richard Zhu , linux-samsung-soc , Grant Likely , Ben Dooks , Arnd Bergmann , Stephen Warren , Jingoo Han , Jason Gunthorpe , linux-tegra , Simon Horman , Thierry Reding , Sascha Hauer , Bjorn Helgaas , Kukjin Kim , Shawn Guo , linux-arm-kernel@lists.infradead.org, Lucas Stach X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 The invalid value of #address-cells in the imx6 pcie host controller node causes of_irq_parse_raw() to incorrectly advance through an interrupt-map table of more than one interrupt. This patch resolves this issue and allows proper interrupt mapping for an imx6 pcie host connected to a P2P bridge when using legacy interrupts. Signed-off-by: Tim Harvey Cc: Jason Gunthorpe Cc: Jingoo Han Cc: Lucas Stach Cc: Mark Rutland Cc: linux-samsung-soc Cc: Richard Zhu Cc: Sascha Hauer Cc: Arnd Bergmann Cc: Stephen Warren Cc: Bjorn Helgaas Cc: Simon Horman Cc: Thierry Reding Cc: Ben Dooks Cc: linux-tegra Cc: Kukjin Kim Cc: Shawn Guo Cc: Grant Likely --- arch/arm/boot/dts/imx6qdl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index af8d28d..2285299 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -49,7 +49,7 @@ intc: interrupt-controller@00a01000 { compatible = "arm,cortex-a9-gic"; #interrupt-cells = <3>; - #address-cells = <1>; + #address-cells = <0>; #size-cells = <1>; interrupt-controller; reg = <0x00a01000 0x1000>,