ARM: tegra: Fix hang on reboot
authorSimon Glass <sjg@chromium.org>
Thu, 17 Feb 2011 16:13:57 +0000 (08:13 -0800)
committerColin Cross <ccross@android.com>
Mon, 21 Feb 2011 04:04:16 +0000 (20:04 -0800)
commit375b19cd34ea9b1ab338deac20b4bd2c553bf57b
tree3840e91e77936f0620afe76925a98d1c1bcefa92
parent1ca00347c579f15b0eea1a6d4bab84e2cf56e745
ARM: tegra: Fix hang on reboot

This seems to be a regression in 2.6.37.

We cannot use writel() here since the resulting wmb() calls l2x0_cache_sync()
which uses a spinlock and L1 cache may be off at this point.

http://lists.infradead.org/pipermail/linux-arm-kernel/2011-February/041909.html

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/common.c