I.MX35 GPIO IRQ + Preempt -> Oops

Eric Bénard eric at eukrea.com
Tue Oct 5 05:13:32 EDT 2010


Hi,

Le 05/10/2010 09:28, Eric Bénard a écrit :
> Hi Marc,
>
> Le 05/10/2010 07:06, Marc Reilly a écrit :
>> For what it's worth...
>>
>>> Also : same problem with Freescale's BSP (2.6.31 based) and same "fix"
>>> (removing the WFI).
>>
>> My kernel won't even boot up (although I don't usually get a kernel
>> oops, only
>> very occasionally) unless i pass the jtag=on parameter (or nohlt for non
>> freescale kernel). It just freezes.
>>
>> I think both of those workarounds effectively bypass the cpu_do_idle()
>> call.
>>
> exactly and it seems the workaround existed in the past in Freescale's
> kernel ( TLSbo65953 is the errata number for i.MX31 ) :
> http://svn.buglabs.net/svn/!source/9783/bug/trunk/bug-linux-2.6.27.2/arch/arm/mach-mx3/mxc_pm.c#359
>
this workaround seems to fix the problem (Freescale's support just sent 
me a very similar one). And vs removing cpu_do_idle, this saves ~ 1/2 W 
when there is no intensive usage of the CPU.

Eric



More information about the linux-arm-kernel mailing list