linux/drivers/crypto/caam
Horia Geant? e7a7104e43 crypto: caam - make write transactions bufferable on PPC platforms
Previous change (see "Fixes" tag) to the MCFGR register
clears AWCACHE[0] ("bufferable" AXI3 attribute) (which is "1" at POR).

This makes all writes non-bufferable, causing a ~ 5% performance drop
for PPC-based platforms.

Rework previous change such that MCFGR[AWCACHE]=4'b0011
(bufferable + cacheable) for all platforms.
Note: For ARM-based platforms, AWCACHE[0] is ignored
by the interconnect IP.

Cc: <stable@vger.kernel.org> # 4.3+
Fixes: f109674951 ("crypto: caam - fix snooping for write transactions")
Signed-off-by: Horia Geant? <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-01-25 21:47:44 +08:00
..
caamalg.c crypto: caam - add support for acipher xts(aes) 2015-10-08 21:42:20 +08:00
caamhash.c crypto: caam - pass the correct buffer length 2015-12-04 22:29:56 +08:00
caamrng.c crypto: caam - Use the preferred style for memory allocations 2015-08-24 22:07:42 +08:00
compat.h crypto: caam - Enable and disable clocks on Freescale i.MX platforms 2015-08-10 23:18:56 +08:00
ctrl.c crypto: caam - make write transactions bufferable on PPC platforms 2016-01-25 21:47:44 +08:00
ctrl.h
desc_constr.h crypto: caam - fix warning in APPEND_MATH_IMM_u64 2015-07-20 15:53:43 +08:00
desc.h crypto: caam - Remove unused JUMP_TYPE_MASK definition 2015-09-21 22:00:40 +08:00
error.c crypto: caam - don't emit ICV check failures to dmesg 2015-01-26 11:34:23 +11:00
error.h
intern.h crypto: caam - Enable and disable clocks on Freescale i.MX platforms 2015-08-10 23:18:56 +08:00
jr.c crypto: caam - Use the preferred style for memory allocations 2015-08-24 22:07:42 +08:00
jr.h
Kconfig crypto: caam - add support for LS1021A 2015-08-18 10:30:39 +08:00
key_gen.c crypto: caam - fix missing dma unmap on error path 2014-11-06 23:10:20 +08:00
key_gen.h
Makefile
pdb.h
regs.h crypto: caam - add support for LS1021A 2015-08-18 10:30:39 +08:00
sg_sw_sec4.h crypto: caam - dma_map_sg can handle chained SG 2015-10-01 21:56:56 +08:00