From: Shawn Guo Date: Sat, 26 Jul 2014 02:33:03 +0000 (+0800) Subject: ARM: imx: fix TLB missing of IOMUXC base address during suspend X-Git-Tag: omap-for-v3.17/fixes-against-rc2~18^2~7^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59d05b518321618177b898a6801503e31b15b25b;p=pandora-kernel.git ARM: imx: fix TLB missing of IOMUXC base address during suspend After the suspend routine running in OCRAM puts DDR into self-refresh, it will access IOMUXC block to float DDR IO for power saving. A TLB missing of IOMUXC base address may happen in this case, and triggers an access to DDR, and thus hangs the system. The failure is discovered by running suspend/resume on a Cubox-i board. Though the issue is not Cubox-i specific, it can be hit the on the board quite easily with the 3.15 or 3.16 kernel. Fix the issue with a dummy access to IOMUXC block at the beginning of suspend routine, so that the address translation can be filled into TLB before DDR is put into self-refresh. Signed-off-by: Shawn Guo Cc: Acked-by: Anson Huang --- Reading git-diff-tree failed