summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@caviumnetworks.com>2016-10-14 12:19:23 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-14 18:59:59 +0300
commitd5df7688b6a36dbb5611a58229a5e294cd978999 (patch)
treefc5b6d4c946488b2894f506c49eae6c748c76c13 /tools/perf/scripts/python/check-perf-trace.py
parent7eff82b0fc26937d23e59d3de8a1930b25d4738c (diff)
downloadlinux-d5df7688b6a36dbb5611a58229a5e294cd978999.tar.xz
qed: Fix possible race when reading firmware return code.
While handling SPQ ramrod completion, there is a possible race where driver might not read updated fw return code based on ramrod completion done. This patch ensures that fw return code is written first and then completion done flag is updated using appropriate memory barriers. Signed-off-by: Manish Chopra <manish.chopra@caviumnetworks.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions