From: Taras Kondratiuk Date: Fri, 10 Jan 2014 00:27:08 +0000 (+0100) Subject: ARM: 7938/1: OMAP4/highbank: Flush L2 cache before disabling X-Git-Tag: v3.13~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b25f3e1c358434bf850220e04f28eebfc45eb634;p=pandora-kernel.git ARM: 7938/1: OMAP4/highbank: Flush L2 cache before disabling Kexec disables outer cache before jumping to reboot code, but it doesn't flush it explicitly. Flush is done implicitly inside of l2x0_disable(). But some SoC's override default .disable handler and don't flush cache. This may lead to a corrupted memory during Kexec reboot on these platforms. This patch adds cache flush inside of OMAP4 and Highbank outer_cache.disable() handlers to make it consistent with default l2x0_disable(). Acked-by: Rob Herring Acked-by: Santosh Shilimkar Acked-by: Tony Lindgren Signed-off-by: Taras Kondratiuk Signed-off-by: Russell King --- Reading git-diff-tree failed