]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 5886/1: arm: Fix cpu_proc_fin() for proc-v7.S and make kexec work
authorTony Lindgren <tony@atomide.com>
Tue, 19 Jan 2010 16:01:33 +0000 (17:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 19 Jan 2010 20:23:17 +0000 (20:23 +0000)
commit10eabe23ac5137f1da254ae0022e8963e65f9a63
tree6ae1c21bc08853412c4c7b384a3485da9c21ec70
parentcc20cd10179408f3ef98d4452aeef34670eb5cd8
ARM: 5886/1: arm: Fix cpu_proc_fin() for proc-v7.S and make kexec work

The comments in arm_machine_restart() suggest that cpu_proc_fin()
will clean and disable cache and turn off interrupts. This does
not seem to be implemented for proc-v7.S, implement it the same
way as for proc-v6.S.

This also makes kexec work for v7. Note that a related TLB and
branch traget flush patch is also needed to avoid kexec
"crc error".

Note that there are still some issues that seem to be related
to L2 cache being on and causing occasional uncompress "crc error"
with kexec. Anyways, this gets kexec mostly working on V7 for now.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7.S