diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2013-10-31 17:10:15 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-12-10 14:17:55 +0100 |
commit | 6a37ff388a0b5f39062b883ae2a0f5c742c2492b (patch) | |
tree | 1dbce0d979b08ee077fe83b9e48961b8f14b495d /arch/arm/mach-zynq/headsmp.S | |
parent | arm: zynq: platsmp: Remove CPU presence check (diff) | |
download | linux-6a37ff388a0b5f39062b883ae2a0f5c742c2492b.tar.xz linux-6a37ff388a0b5f39062b883ae2a0f5c742c2492b.zip |
arm: zynq: Invalidate L1 in secondary boot
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>
Diffstat (limited to 'arch/arm/mach-zynq/headsmp.S')
-rw-r--r-- | arch/arm/mach-zynq/headsmp.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-zynq/headsmp.S b/arch/arm/mach-zynq/headsmp.S index d4cd5f34fe5c..57a32869f0aa 100644 --- a/arch/arm/mach-zynq/headsmp.S +++ b/arch/arm/mach-zynq/headsmp.S @@ -18,5 +18,9 @@ zynq_secondary_trampoline_jump: .word /* cpu 1 */ .globl zynq_secondary_trampoline_end zynq_secondary_trampoline_end: - ENDPROC(zynq_secondary_trampoline) + +ENTRY(zynq_secondary_startup) + bl v7_invalidate_l1 + b secondary_startup +ENDPROC(zynq_secondary_startup) |