Skip to content
Commit d73718f3 authored by Mingkai Hu's avatar Mingkai Hu Committed by Tom Rini
Browse files

armv8: Enable CPUECTLR.SMPEN for coherency



For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is
set. The SMPEN bit should be set before enabling the data cache.
If not enabled, the cache is not coherent with other cores and
data corruption could occur.

For A57/A72, SMPEN bit enables the processor to receive instruction
cache and TLB maintenance operations broadcast from other processors
in the cluster. This bit should be set before enabling the caches and
MMU, or performing any cache and TLB maintenance operations.

Signed-off-by: default avatarMingkai Hu <mingkai.hu@nxp.com>
Signed-off-by: default avatarGong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent d56dd0b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment