armv8: Implement workaround for Cortex-A53 erratum 855873
authorAlison Wang <b18965@freescale.com>
Thu, 28 Dec 2017 05:00:55 +0000 (13:00 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 10 Jan 2018 20:29:57 +0000 (12:29 -0800)
commitab0ab54e49180d701fd5fdefb4a819ed086eadee
treea0a93c8200f03c78ec45cb38f349189b2016fbac
parent541d57663f12c33ed8e81143d87143e4f2c885ce
armv8: Implement workaround for Cortex-A53 erratum 855873

855873: An eviction might overtake a cache clean operation
Workaround: The erratum can be avoided by upgrading cache clean by
address operations to cache clean and invalidate operations. For
Cortex-A53 r0p3 and later release, this can be achieved by setting
CPUACTLR.ENDCCASCI to 1.

This patch is to implement the workaround for this erratum.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/Kconfig
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/cpu/armv8/start.S