diff options
author | Horia Geant? <horia.geanta@freescale.com> | 2015-07-17 16:54:52 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-20 10:53:41 +0300 |
commit | f109674951440912b645de2761d5d851e261af98 (patch) | |
tree | d71d16a08892cbad2b3e047d71589cb52b771937 /block/blk-settings.c | |
parent | e27513eb61bae759b7d5f340cf39d60f0d15a00b (diff) | |
download | linux-f109674951440912b645de2761d5d851e261af98.tar.xz |
crypto: caam - 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, i.e. AXI3 Cacheable bit set.
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
Signed-off-by: Horia Geant? <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions