diff options
author | 2010-07-31 21:06:06 +0530 | |
---|---|---|
committer | 2010-10-26 11:39:56 +0530 | |
commit | ae360a78f41164e7f9c4cf846696b5b6d8dae5c8 (patch) | |
tree | cb96d4ecbb0c04e7c25a0b08b2dc7f979391a1dc /kernel/kmod.c | |
parent | ARM: Improve the L2 cache performance when PL310 is used (diff) | |
download | wireguard-linux-ae360a78f41164e7f9c4cf846696b5b6d8dae5c8.tar.xz wireguard-linux-ae360a78f41164e7f9c4cf846696b5b6d8dae5c8.zip |
arm: Disable outer (L2) cache in kexec
kexec does not disable the outer cache before disabling the inner
caches in cpu_proc_fin(). So L2 is enabled across the kexec jump. When
the new kernel enables chaches again, it randomly crashes.
Disabling L2 before calling cpu_proc_fin() cures the problem.
Disabling L2 requires the following new functions: flush_all(),
inv_all() and disable(). Add them to outer_cache_fns and call them
from the kexec code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions