armv8: ls2080a: Implement workaround for core errata 829520, 833471
authorAshish kumar <Ashish.kumar@nxp.com>
Wed, 27 Jan 2016 12:39:32 +0000 (18:09 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 1 Feb 2016 21:58:22 +0000 (13:58 -0800)
commit2ea3a448ccfdd3d6f7e01060ba8fa49bd97a73e0
treea65ac9fd65e9e8eda89f146b7bd4ece4a992b40e
parent73a5de4c6ea5f0269013897654c7ff50da97323b
armv8: ls2080a: Implement workaround for core errata 829520, 833471

829520: Code bounded by indirect conditional branch might corrupt
instruction stream.
Workaround: Set CPUACTLR_EL1[4] = 1'b1 to disable the Indirect
Predictor.

833471: VMSR FPSCR functional failure or deadlock.
Workaround: Set CPUACTLR[38] to 1, which forces FPSCR write flush.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/start.S
arch/arm/include/asm/arch-fsl-layerscape/config.h