powerpc/iommu: Add ppc_md.tce_get() callback for use by VFIO
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 4 Sep 2012 15:19:35 +0000 (15:19 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 10 Sep 2012 04:36:17 +0000 (14:36 +1000)
The upcoming VFIO support requires a way to know which
entry in the TCE map is not empty in order to do cleanup
at QEMU exit/crash. This patch adds such functionality
to POWERNV platform code.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found