powerpc/kmemleak: Do not scan the DART table
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 13 Jun 2014 08:44:21 +0000 (09:44 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Jun 2014 04:29:46 +0000 (14:29 +1000)
commita1d23d5c94256ffa0de510a3d59d6eff551d97ae
tree0e7a431be4e12ad24c85fb82f17659398d9887f9
parentaa83f3d8979528d2e6e8ad0c155d8ecf4eaef2e2
powerpc/kmemleak: Do not scan the DART table

The DART table allocation is registered to kmemleak via the
memblock_alloc_base() call. However, the DART table is later unmapped
and dart_tablebase VA no longer accessible. This patch tells kmemleak
not to scan this block and avoid an unhandled paging request.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/dart_iommu.c