From patchwork Thu Mar 27 17:02:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 3898551 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 21054BF540 for ; Thu, 27 Mar 2014 17:08:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B12320240 for ; Thu, 27 Mar 2014 17:08:58 +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 6B5F820237 for ; Thu, 27 Mar 2014 17:08:57 +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 1WTDn2-0000B4-VT; Thu, 27 Mar 2014 17:08:29 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTDms-0003pi-WA; Thu, 27 Mar 2014 17:08:19 +0000 Received: from mail-ee0-f50.google.com ([74.125.83.50]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTDmq-0003oi-Ub for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 17:08:17 +0000 Received: by mail-ee0-f50.google.com with SMTP id c13so3132034eek.37 for ; Thu, 27 Mar 2014 10:07:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Vy7vuOewwjZYgc63wJ+OEE/ryvsL3ZuXLGuIfTvHW54=; b=jL5u56Jw+A3FY/CMHYBe4WF3QOlar1bl9NlltIKoEcdJuC04BJ4/pn0SAGg6WUFnOG AHd2SqkpEm6NFYDMedGTVrr3QB37bJgAZl5IgT3eIhB/x68RwHrlL115cZNc787xDRqW 2MbbG1EimWIT4FFoODRN02ZAk87AwI8KgfddGuBeWImMkZF7jL9xBFNoO2eX7TNRvdOl b5aP1DvJgkWMzjFYDLztR9OP4gkqF9q7dCbIybscBx5f4UG3i7q5hTH5cCVBQkI7urcN BLvRDdL7oQKZQJaLHgxrBk7yW2kvDDSNPYvEv/0KtSO7WyZQyAf3C5QSiDOM/vujxKWh 0ylQ== X-Received: by 10.14.214.68 with SMTP id b44mr2799137eep.0.1395939714857; Thu, 27 Mar 2014 10:01:54 -0700 (PDT) Received: from satan.homenet.telecomitalia.it (host43-8-static.10-188-b.business.telecomitalia.it. [188.10.8.43]) by mx.google.com with ESMTPSA id a4sm5554975eep.12.2014.03.27.10.01.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Mar 2014 10:01:54 -0700 (PDT) From: Carlo Caione To: tglx@linutronix.de, hdegoede@redhat.com, maxime.ripard@free-electrons.com, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, devicetree@vger.kernel.org Subject: [PATCH 1/2] ARM: sun7i/sun6i: dts: Fix IRQ number for sun6i NMI controller Date: Thu, 27 Mar 2014 18:02:38 +0100 Message-Id: <1395939759-11135-2-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.8.4.1 In-Reply-To: <1395939759-11135-1-git-send-email-carlo@caione.org> References: <1395939759-11135-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140327_130817_108042_D88F589B X-CRM114-Status: GOOD ( 10.69 ) X-Spam-Score: -2.6 (--) Cc: Carlo Caione 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.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: Hans de Goede The IRQ line used in sun6i-a31.dtsi for the NMI controller is wrong. This causes a IRQ storm since the NMI controller is repeatedly fired. This patch fixes this problem assigning the correct IRQ number to the NMI controller. Signed-off-by: Hans de Goede Signed-off-by: Carlo Caione Acked-by: Maxime Ripard --- arch/arm/boot/dts/sun6i-a31.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 3b95cb5..38d43fe 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -195,7 +195,7 @@ interrupt-controller; #interrupt-cells = <2>; reg = <0x01f00c0c 0x38>; - interrupts = <0 0 4>; + interrupts = <0 32 4>; }; pio: pinctrl@01c20800 {