]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
arm: zynq: Invalidate L1 in secondary boot
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 16 Jul 2013 20:35:03 +0000 (13:35 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 23 Aug 2013 13:01:26 +0000 (15:01 +0200)
commitc80a37448c719d84d7c438cb8c9f784b7479a947
tree11b274d6ce73b6713283275fc6eea1bf537f94c4
parent6a2a8978de7888bc592cc002637c57ba6116b40a
arm: zynq: Invalidate L1 in secondary boot

With an implementation of cpu_kill() (commit fda2191, 'zynq: Add support
for zynq_cpu_kill function') the killed core's L1 is not guaranteed to
be properly flushed when going into suspend. Also, during boot, Linux
initiates a clean-invalidate operation only, resulting in faulty data to
be written to the memory system during resume.
Therefore invalidate the L1 in the secondary boot path to avoid these
issues.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/common.h
arch/arm/mach-zynq/headsmp.S
arch/arm/mach-zynq/platsmp.c