aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2018-04-09 17:45:51 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-04-21 00:58:35 +0800
commitc782a8c43e94ba6c09e9de2d69b5e3a5840ce61c (patch)
tree250ae0ae69c525356cc38de12872a6ac3defac41 /tools/perf/scripts/python
parentcrypto: cavium - Fix fallout from CONFIG_VMAP_STACK (diff)
downloadlinux-dev-c782a8c43e94ba6c09e9de2d69b5e3a5840ce61c.tar.xz
linux-dev-c782a8c43e94ba6c09e9de2d69b5e3a5840ce61c.zip
crypto: cavium - Limit result reading attempts
After issuing a request an endless loop was used to read the completion state from memory which is asynchronously updated by the ZIP coprocessor. Add an upper bound to the retry attempts to prevent a CPU getting stuck forever in case of an error. Additionally, add a read memory barrier and a small delay between the reading attempts. Signed-off-by: Jan Glauber <jglauber@cavium.com> Reviewed-by: Robert Richter <rrichter@cavium.com> Cc: stable <stable@vger.kernel.org> # 4.14 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions