aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <[email protected]>2012-12-28 09:08:51 +0000
committerBenjamin Herrenschmidt <[email protected]>2013-01-10 17:01:53 +1100
commit7f966d394d6630313e02679de1875f67978f8bdd (patch)
tree38eae543b04bd558428f1079e68be7c198ee5cc7 /tools/perf/scripts/python
parentd69f1d7fa156ae2883bb3ba099046319cf00ccf6 (diff)
powerpc/iommu: Prevent false TCE leak message
When a device DMA window includes the address 0, it's reserved in the TCE bitmap to avoid returning that address to drivers. When the device is removed, the bitmap is checked for any mappings not removed by the driver, indicating a possible DMA mapping leak. Since the reserved address is not cleared, a message is printed, warning of such a leak. Check for the reservation, and clear it before checking for any other standing mappings. Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions