diff options
author | Horia Geant? <horia.geanta@nxp.com> | 2016-01-12 17:59:29 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-25 21:47:44 +0800 |
commit | e7a7104e432c0db8469ca3568daf4f1d1afe3e73 (patch) | |
tree | 38836deda78b08580a8a9387fd8bb66355948020 /drivers/hwmon/lm95241.c | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
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 'drivers/hwmon/lm95241.c')
0 files changed, 0 insertions, 0 deletions