]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00173585: MX6: Added WAIT mode workaround for MX6Q TO1.1
authorRanjani Vaidyanathan <ra5478@freescale.com>
Wed, 1 Feb 2012 13:32:32 +0000 (07:32 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:53 +0000 (08:33 +0200)
commiteb973246e66fef6d19c76bb4507298d8f095a00d
tree9b0604ba2a0d1cbc3968e9cb53f964d0845defad
parentbafcdabd725100b61c5ba808acf1f958167b5d69
ENGR00173585: MX6: Added WAIT mode workaround for MX6Q TO1.1

There is small window where an interrupt can occur when the SOC is
in the process of entering WAIT mode. The ARM core responds to this
interrupt and can access the internal memories when their clocks are
disabled.
To avoid crashes generated due to this, WFI code should be executed
from non-cacheable IRAM and enough delay should added after the
WFI so that accesses to memories are prevented.

This workaround assumes that all interrupts are routed to CPU0 only.
This workaround is applicable to iMX6DL/Solo also.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/mach-mx6/system.c