summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMingkai Hu <[email protected]>2017-01-06 17:41:10 +0800
committerYork Sun <[email protected]>2017-01-18 09:27:47 -0800
commit3aec452e4dbd16be7bdbabfa80d1fcc840cf342c (patch)
treefda8d849bee699d9ac92321405478b3df9f579d2 /include/linux
parent9e0bb4c1d9560cf8af0657939d01d7da8ef0f342 (diff)
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: Mingkai Hu <[email protected]> Signed-off-by: Gong Qianyu <[email protected]> Signed-off-by: Mateusz Kulikowski <[email protected]> Signed-off-by: Hou Zhiqiang <[email protected]> Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions