diff options
| author | Jan Glauber <[email protected]> | 2018-04-09 17:45:51 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-04-21 00:58:35 +0800 |
| commit | c782a8c43e94ba6c09e9de2d69b5e3a5840ce61c (patch) | |
| tree | 250ae0ae69c525356cc38de12872a6ac3defac41 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 37ff02acaa3d7be87ecb89f198a549ffd3ae2403 (diff) | |
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 <[email protected]>
Reviewed-by: Robert Richter <[email protected]>
Cc: stable <[email protected]> # 4.14
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions