commit | 11f63d3fb9c4257b1f005db8d11deba9f992bdf6 | [log] [tgz] |
---|---|---|
author | Alexey Kardashevskiy <aik@ozlabs.ru> | Tue Sep 04 15:19:35 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Sep 10 14:36:17 2012 +1000 |
tree | a9ab9deefe703cd00c020cba522b4700a64f775b | |
parent | 4715fed600109e0bd3d6cfa2b925a643173a08b4 [diff] |
powerpc/iommu: Add ppc_md.tce_get() callback for use by VFIO 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>