aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorOlav Haugan <ohaugan@codeaurora.org>2014-02-11 09:26:08 -0800
committerOlav Haugan <ohaugan@codeaurora.org>2014-02-11 13:26:50 -0800
commit6a233e66adcd662f0e398275244358300ff49bcb (patch)
tree3f4fb48f36136d393989fdeeb7d1130ce7d3d25c /scripts/gcc-wrapper.py
parentcf10ac2f8a8e6b9d53fea508ea7c7dc23c86dd20 (diff)
iommu: msm: Do not sleep for 10 ms when TLB sync does not complete
TLB sync might take longer than expected to complete and we wait for 10 ms to recheck. This is causing jitter in some applications. Instead of waiting too long to check whether TLB sync has completed we use function readl_tight_poll_timeout to quickly poll the status without incurring sleep delay. We also ensure that if we do eventually time out on the TLB sync or iommu halt we cause a crash to indicate that something has gone wrong. CRs-fixed: 608971 Change-Id: I6b3e5155ab7aafa80432f95554d25cf0e2b753f9 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions