]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: 7080/1: l2x0: make sure I&D are not locked down on init
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 6 Sep 2011 06:45:46 +0000 (07:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Sep 2011 23:48:03 +0000 (00:48 +0100)
commitbac7e6ecf60933b68af910eb4c83a775a8b20b19
treedaf1842510371b7f9d3cbb557b338b38fc7c0caa
parentbb9ea77846620ed2b37e74c852d72c7a476b248c
ARM: 7080/1: l2x0: make sure I&D are not locked down on init

Fighting unfixed U-Boots and other beasts that may the cache in
a locked-down state when starting the kernel, we make sure to
disable all cache lock-down when initializing the l2x0 so we
are in a known state.

Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Rabin Vincent <rabin.vincent@stericsson.com>
Cc: Adrian Bunk <adrian.bunk@movial.com>
Cc: Rob Herring <robherring2@gmail.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reported-by: Jan Rinze <janrinze@gmail.com>
Tested-by: Robert Marklund <robert.marklund@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/hardware/cache-l2x0.h
arch/arm/mm/cache-l2x0.c