From: u.kleine-koenig@pengutronix.de (Uwe =?iso-8859-1?Q?Kleine-K=F6nig?=) Date: Mon, 4 Oct 2010 09:39:20 +0200 Subject: I.MX35 GPIO IRQ + Preempt -> Oops In-Reply-To: <4CA8BA29.5060600@eukrea.com> References: <4CA739B4.1020506@eukrea.com> <20101003114103.GC32736@n2100.arm.linux.org.uk> <4CA8A06B.3070103@eukrea.com> <20101003162021.GD32736@n2100.arm.linux.org.uk> <4CA8BA29.5060600@eukrea.com> Message-ID: <20101004073920.GM28679@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Eric, On Sun, Oct 03, 2010 at 07:15:21PM +0200, Eric B?nard wrote: > Le 03/10/2010 18:20, Russell King - ARM Linux a ?crit : >> On Sun, Oct 03, 2010 at 05:25:31PM +0200, Eric B?nard wrote: >>> Hi Russell, >>> >>> Le 03/10/2010 13:41, Russell King - ARM Linux a ?crit : >>>> The common theme here looks like instruction cache corruption in >>>> default_idle() - iow, the CPU isn't executing the code which is in >>>> memory. >>>> >>> thanks for the analysis. >>> This problem seems to be related to the ARM11 bug described in page 4 of >>> this PDF : >>> http://cache.freescale.com/files/dsp/doc/errata/IMX35CE.pdf?fpsp=1 >>> >>> ENGcm09472 ARM: WFI and interrupt problems >>> >>> Description: >>> There are two issues: >>> ? The behavior of the FIQ signal to the ARM11 core can cause a problem >>> when exiting WFI mode. >> >> Are you using FIQs? The kernel normally uses IRQs unless you explicitly >> do something that with FIQs. >> > the FIQ is used for the imx-ssi driver. > > It seems that removing the cpu_do_idle() call in > plat-mxc/include/mach/system.h "fix" the problem. hmmm Does deselecting imx-ssi "fixes" the problem, too? Do you have traffic on the ssi unit when the problem occurs? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |