From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 4 Aug 2015 08:56:38 -0700 Subject: [U-Boot] [PATCH 2/3] crypto/fsl: fix snooping for write transactions In-Reply-To: <1436365498-25890-2-git-send-email-horia.geanta@freescale.com> References: <1436365498-25890-1-git-send-email-horia.geanta@freescale.com> <1436365498-25890-2-git-send-email-horia.geanta@freescale.com> Message-ID: <55C0E0B6.1040002@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/08/2015 07:24 AM, Horia Geant? wrote: > HW coherency won't work properly for CAAM write transactions > if AWCACHE is left to default (POR) value - 4'b0001. > It has to be programmed to 4'b0010. > > For platforms that have HW coherency support: > -PPC-based: the update has no effect; CAAM coherency already works > due to the IOMMU (PAMU) driver setting the correct memory coherency > attributes > -ARM-based: the update fixes cache coherency issues, > since IOMMU (SMMU) driver is not programmed to behave similar to PAMU > > Fixes: b9eebfade974c ("fsl_sec: Add hardware accelerated SHA256 and SHA1") > Signed-off-by: Horia Geant? > Reviewed-by: Aneesh Bansal > Reviewed-by: Mingkai Hu > --- Applied to u-boot-fsl-qoriq master with minor change in subject. Thanks. York