diff options
author | horia.geanta@freescale.com <horia.geanta@freescale.com> | 2015-07-08 17:24:57 +0300 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-08-03 12:06:38 -0700 |
commit | 3ef2412de6680c751abd39047cadff7e052a0f51 (patch) | |
tree | 0e25ca7f4a28f881a041c445739c21b24e7fbf34 /configs | |
parent | e5d08b4d601d4060609b162f437327c823b00947 (diff) | |
download | u-boot-imx-3ef2412de6680c751abd39047cadff7e052a0f51.zip u-boot-imx-3ef2412de6680c751abd39047cadff7e052a0f51.tar.gz u-boot-imx-3ef2412de6680c751abd39047cadff7e052a0f51.tar.bz2 |
drivers/crypto/fsl: fix snooping for write transactions
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ă <horia.geanta@freescale.com>
Reviewed-by: Aneesh Bansal <aneesh.bansal@freescale.com>
Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com>
Acked-by: Ruchika Gupta<ruchika.gupta@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions