diff options
| author | Laurent Pinchart <[email protected]> | 2014-03-07 22:47:03 +0000 |
|---|---|---|
| committer | Laurent Pinchart <[email protected]> | 2014-04-16 14:30:16 +0000 |
| commit | f7129a0e4d5835b7851208d35984bc80116f1ed0 (patch) | |
| tree | ff4e5845305decc5cd450b36a9d1069252540dbb /tools/perf/scripts/python/check-perf-trace.py | |
| parent | iommu/omap: Move to_iommu definition from omap-iopgtable.h (diff) | |
| download | kernel-f7129a0e4d5835b7851208d35984bc80116f1ed0.tar.gz kernel-f7129a0e4d5835b7851208d35984bc80116f1ed0.zip | |
iommu/omap: Fix 'no page for' debug message in flush_iotlb_page()
The flush_iotlb_page() function prints a debug message when no
corresponding page was found in the TLB. That condition is incorrectly
checked and always resolves to true, given that the for_each_iotlb_cr()
loop is never interrupted and always reaches obj->nr_tlb_entries.
Given that we can't have two TLB entries for the same VA, break from the
loop when a match is found.
Signed-off-by: Laurent Pinchart <[email protected]>
Acked-by: Suman Anna <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
