summaryrefslogtreecommitdiffstats
path: root/crypto/des_generic.c
diff options
context:
space:
mode:
authorHoria Geant? <horia.geanta@nxp.com>2016-01-12 16:59:29 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-25 14:47:44 +0100
commite7a7104e432c0db8469ca3568daf4f1d1afe3e73 (patch)
tree38836deda78b08580a8a9387fd8bb66355948020 /crypto/des_generic.c
parentLinux 4.5-rc1 (diff)
downloadlinux-e7a7104e432c0db8469ca3568daf4f1d1afe3e73.tar.xz
linux-e7a7104e432c0db8469ca3568daf4f1d1afe3e73.zip
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: f10967495144 ("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>
Diffstat (limited to 'crypto/des_generic.c')
0 files changed, 0 insertions, 0 deletions