ARM: ux500 specific L2 cache code
authorPer Fransson <per.xx.fransson@stericsson.com>
Wed, 8 Sep 2010 15:51:40 +0000 (21:21 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 26 Oct 2010 06:10:06 +0000 (11:40 +0530)
commitae6948048c417d429b8a0f85fad13e483f7cc1a3
treeee4957115c7f528a85942f42af440720da301e40
parent444457c1f59d58bc48acf5b4fc585225106c11ff
ARM: ux500 specific L2 cache code

The generic version of l2x0_inv_all is only called just after disabling
the L2 cache and is surrounded by a spinlock. However, we're not really
turning off the L2 cache right now, and the PL310 does not support
exclusive accesses (used to implement the spinlock). So, the
invalidation needs to be done without the spinlock.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Hans-Juergen Koch <hjk@linutronix.de>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
arch/arm/mach-ux500/cpu.c