aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSunil Goutham <[email protected]>2017-05-05 16:47:46 +0530
committerWill Deacon <[email protected]>2017-06-23 17:57:56 +0100
commitb847de4e5087fc8577c38a697d14fd2a5ce93352 (patch)
treebc37e0ec58a5e42cb4632308b23816730a5c726f /tools/perf/scripts/python/export-to-postgresql.py
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
iommu/arm-smmu-v3: Increase CMDQ drain timeout value
Waiting for a CMD_SYNC to be processed involves waiting for the command queue to drain, which can take an awful lot longer than waiting for a single entry to become available. Consequently, the common timeout value of 100us has been observed to be too short on some platforms when a CMD_SYNC is issued into a queued full of TLBI commands. This patch resolves the issue by using a different (1s) timeout when waiting for the CMDQ to drain and using a simple back-off mechanism when polling the cons pointer in the absence of WFE support. Signed-off-by: Sunil Goutham <[email protected]> [will: rewrote commit message and cosmetic changes] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions