summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSunil Goutham <sgoutham@marvell.com>2020-03-02 10:19:28 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-02 22:08:52 +0300
commitdc819c1bc3e1ff04472d5139b1c2900b5f260008 (patch)
treec0d06fc96bee3f59dae86ebf8b0283e8ef25a780 /tools/perf/scripts/python/export-to-sqlite.py
parent549c35ecc132d15ad2a60e34af6b61ee94106926 (diff)
downloadlinux-dc819c1bc3e1ff04472d5139b1c2900b5f260008.tar.xz
octeontx2-af: Modify rvu_reg_poll() to check reg atleast twice
Currently on the first check if the operation is still not finished, the poll goes to sleep for 2-5 usecs. But if for some reason (due to other priority stuff like interrupts etc) by the time the poll wakes up the 10ms time is expired then we don't check if operation is finished or not and return failure. This patch modifies poll logic to check HW operation after sleep so that the status is checked atleast twice. Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions