diff options
author | Horia Geantă <horia.geanta@freescale.com> | 2015-10-29 17:55:21 (GMT) |
---|---|---|
committer | Horia Geantă <horia.geanta@freescale.com> | 2015-11-03 07:41:17 (GMT) |
commit | 2c2766622da60bfddb25f67e04bba97e2cb4e97f (patch) | |
tree | 412aeb7e2d5149d7c3f8f3cc2240a55cf18b2e9e /drivers/cpufreq/sc520_freq.c | |
parent | e82a7610e8e45f51f3490b894cae042be681148f (diff) | |
download | linux-fsl-qoriq-2c2766622da60bfddb25f67e04bba97e2cb4e97f.tar.xz |
crypto: caam - make write transactions bufferable on PPC platforms
Previous change (see "Fixes" tag) to the MCFGR register clears AWCACHE[0]
(which is "1" at POR).
For PPC-based platforms, this makes all writes non-bufferable, causing
a performance drop.
Rework previous change such that MCFGR[AWCACHE] is set to:
-4'b0001 (default value at POR) for PPC-based platforms
-4'b0011 (default value at POR + AWCACHE[1]) for ARM-based platforms
Fixes: bcd586241449 ("crypto: caam - fix snooping for write transactions")
Signed-off-by: Horia Geantă <horia.geanta@freescale.com>
Diffstat (limited to 'drivers/cpufreq/sc520_freq.c')
0 files changed, 0 insertions, 0 deletions