reboot not working on linux-2.6.37 for ARMv7

Rabin Vincent rabin at rab.in
Sat Feb 12 22:56:56 EST 2011


On Sat, Feb 12, 2011 at 21:45, viresh kumar <viresh.linux at gmail.com> wrote:
> We are not modifying flush_cache_all. L2 cache is not flushed from
> there.  Actually as soon as L1 Cache is flushed and disabled,
> spin_lock is taken from some other thread. This creates problem for
> our platform, as we do not have monitors support at L2 thus failing
> strex instruction.

Do you use writel() in your arch_reset() routine (as plat-spear appears
to be doing)?  There's a spinlock in there too (l2x0_cache_sync(), via
the barriers) which will also not work in your situation.



More information about the linux-arm-kernel mailing list