From: Linus Walleij Date: Fri, 12 Aug 2011 11:54:42 +0000 (+0200) Subject: ARM: mach-ux500: unlock I&D l2x0 caches before init X-Git-Tag: v3.2-rc1~98^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bf6d2c1bb23533af6930581cc39b74685bc29de;p=pandora-kernel.git ARM: mach-ux500: unlock I&D l2x0 caches before init Apparently U8500 U-Boot versions may leave the l2x0 locked down before executing the kernel. Make sure we unlock it before we initialize the l2x0. This fixes a performance problem reported by Jan Rinze. The l2x0 core has been modified to unlock the l2x0 by default, but it will not touch the locking registers if the l2x0 was already enabled, as on the ux500, so we need this quirk to make sure it is properly turned off. Cc: stable@kernel.org Cc: Srinidhi Kasagar Cc: Rabin Vincent Cc: Adrian Bunk Reported-by: Jan Rinze Tested-by: Robert Marklund Signed-off-by: Linus Walleij --- Reading git-diff-tree failed