Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934529AbbEMWSR (ORCPT ); Wed, 13 May 2015 18:18:17 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:34678 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932417AbbEMWSP (ORCPT ); Wed, 13 May 2015 18:18:15 -0400 Message-ID: <5553CDA4.6000905@wwwdotorg.org> Date: Wed, 13 May 2015 16:18:12 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Lucas Stach CC: Thomas Gleixner , Jason Cooper , Marc Zyngier , Thierry Reding , Alexandre Courbot , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH] irqchip: tegra: fix wrong data being passed as the irqdomain chip data References: <1431202014-3136-1-git-send-email-dev@lynxeye.de> In-Reply-To: <1431202014-3136-1-git-send-email-dev@lynxeye.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 828 Lines: 17 On 05/09/2015 02:06 PM, Lucas Stach wrote: > 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. Tested-by: Stephen Warren Tested on NVIDIA Seaboard (which is affected by the bug in the default configuration/DT) with the patch applied on to of 4.1-rc3. -- 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/