From: Tom Rini Date: Sat, 9 Jul 2016 09:24:56 -0400 Subject: [U-Boot] [U-Boot, v2] armv8: Enable CPUECTLR.SMPEN for coherency In-Reply-To: <1467865332-32374-1-git-send-email-Qianyu.Gong@nxp.com> References: <1467865332-32374-1-git-send-email-Qianyu.Gong@nxp.com> Message-ID: <20160709132456.GU25382@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jul 07, 2016 at 12:22:12PM +0800, Qianyu Gong wrote: > From: Mingkai Hu > > 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 > Signed-off-by: Gong Qianyu > Reviewed-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: