Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754512AbbEMItC (ORCPT ); Wed, 13 May 2015 04:49:02 -0400 Received: from terminus.zytor.com ([198.137.202.10]:59713 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022AbbEMIs7 (ORCPT ); Wed, 13 May 2015 04:48:59 -0400 Date: Wed, 13 May 2015 01:48:34 -0700 From: tip-bot for Lucas Stach Message-ID: Cc: marc.zyngier@arm.com, tglx@linutronix.de, dev@lynxeye.de, gnurou@gmail.com, swarren@wwwdotorg.org, mingo@kernel.org, thierry.reding@gmail.com, hpa@zytor.com, jason@lakedaemon.net, linux-kernel@vger.kernel.org Reply-To: mingo@kernel.org, thierry.reding@gmail.com, hpa@zytor.com, linux-kernel@vger.kernel.org, jason@lakedaemon.net, marc.zyngier@arm.com, tglx@linutronix.de, dev@lynxeye.de, gnurou@gmail.com, swarren@wwwdotorg.org In-Reply-To: <1431202014-3136-1-git-send-email-dev@lynxeye.de> References: <1431202014-3136-1-git-send-email-dev@lynxeye.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/urgent] irqchip: tegra: Set the proper base address in irq chip data Git-Commit-ID: 9cf82e72ec449b4516843377ac7a20abe300c64f X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1973 Lines: 47 Commit-ID: 9cf82e72ec449b4516843377ac7a20abe300c64f Gitweb: http://git.kernel.org/tip/9cf82e72ec449b4516843377ac7a20abe300c64f Author: Lucas Stach AuthorDate: Sat, 9 May 2015 22:06:54 +0200 Committer: Thomas Gleixner CommitDate: Wed, 13 May 2015 10:46:07 +0200 irqchip: tegra: Set the proper base address in irq chip data The irq chip functions use the irq chipdata directly as the base register address of the controller, so this should be passed in instead of a pointer to the array address holding the base address. This fixes Tegra20 CPUidle as now the un-/masking of IRQs at the LIC level works again, but more importantly it fixes the resulting memory corruption. Fixes: de3ce0804916 ' irqchip: tegra: Add DT-based support for legacy interrupt controller' Signed-off-by: Lucas Stach Cc: Stephen Warren Cc: Thierry Reding Cc: Alexandre Courbot Cc: Jason Cooper Cc: Marc Zyngier Link: http://lkml.kernel.org/r/1431202014-3136-1-git-send-email-dev@lynxeye.de Signed-off-by: Thomas Gleixner --- drivers/irqchip/irq-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-tegra.c b/drivers/irqchip/irq-tegra.c index 51c485d..f67bbd8 100644 --- a/drivers/irqchip/irq-tegra.c +++ b/drivers/irqchip/irq-tegra.c @@ -264,7 +264,7 @@ static int tegra_ictlr_domain_alloc(struct irq_domain *domain, irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, &tegra_ictlr_chip, - &info->base[ictlr]); + info->base[ictlr]); } parent_args = *args; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/