summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/of_platform.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>2012-12-28 09:08:51 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-01-10 17:01:53 +1100
commit7f966d394d6630313e02679de1875f67978f8bdd (patch)
tree38eae543b04bd558428f1079e68be7c198ee5cc7 /arch/powerpc/kernel/of_platform.c
parentd69f1d7fa156ae2883bb3ba099046319cf00ccf6 (diff)
downloadtalos-op-linux-7f966d394d6630313e02679de1875f67978f8bdd.tar.gz
talos-op-linux-7f966d394d6630313e02679de1875f67978f8bdd.zip
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 <cascardo@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/of_platform.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud