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: 3827701 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 45DB1BF540 for ; Thu, 13 Mar 2014 17:40:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DA5020181 for ; Thu, 13 Mar 2014 17:40:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 25827201B6 for ; Thu, 13 Mar 2014 17:40:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754666AbaCMRkX (ORCPT ); Thu, 13 Mar 2014 13:40:23 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:49154 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754748AbaCMRkV (ORCPT ); Thu, 13 Mar 2014 13:40:21 -0400 Received: by mail-pa0-f53.google.com with SMTP id ld10so1420396pab.26 for ; Thu, 13 Mar 2014 10:40:20 -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=dv+94ANGOwX/dAU6desq5MM4bo5ehX330kK86VladgyMCP1J0jx6W0rhGSQ369YdWc mLxAcxQ+e0Z7PhocTgTEgFIwFeWXjwMLTXz7ioK9GZ7o7PUvqgDx+GexMaUYbR5mKKly 1XE7ohUBQa2YYlViZZRA4pgCkfVmg6oLfq/xwPSekodLj3cn3HqpZhjMO7Blhnp6OL9Y Nm0HwGLukgKiXUXEKXn/MzGiDk/dXUj4CFeHmqT6NLiMH7JtWOQPBt9gqnCyPrRd4ilc FrcNDhnrHN7Z28wOaxprlrC/cZj4dr44ylsP2VKIgx53JV/rrw/yEY3Yqt8Eek4X/DCx cDaw== X-Gm-Message-State: ALoCoQmvb67PVOR8z4R3y8R7W65sRzewAWAuEZhKJg+Dw3LXK6fhwIZWIlPKCYfuVtmC6iXO+3+2 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 Cc: linux-arm-kernel@lists.infradead.org, Jason Gunthorpe , Jingoo Han , Lucas Stach , Mark Rutland , linux-samsung-soc , Richard Zhu , Sascha Hauer , Arnd Bergmann , Stephen Warren , Bjorn Helgaas , Simon Horman , Thierry Reding , Ben Dooks , linux-tegra , Kukjin Kim , Shawn Guo , Grant Likely 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> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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>,