diff options
author | Robin Murphy <robin.murphy@arm.com> | 2017-10-18 15:04:28 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-10-20 16:55:10 +0100 |
commit | 8ff0f72371709889349a706e19bb38d9f71b1669 (patch) | |
tree | 29e961ad097c47c29ddbaf679e57ad4c2ba229dc /arch/cris | |
parent | a529ea19aadb7a3bbcce3335ed4671adbe275b22 (diff) | |
download | blackbird-op-linux-8ff0f72371709889349a706e19bb38d9f71b1669.tar.gz blackbird-op-linux-8ff0f72371709889349a706e19bb38d9f71b1669.zip |
iommu/arm-smmu-v3: Use burst-polling for sync completion
While CMD_SYNC is unlikely to complete immediately such that we never go
round the polling loop, with a lightly-loaded queue it may still do so
long before the delay period is up. If we have no better completion
notifier, use similar logic as we have for SMMUv2 to spin a number of
times before each backoff, so that we have more chance of catching syncs
which complete relatively quickly and avoid delaying unnecessarily.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions