diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2013-08-28 10:37:43 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 08:24:40 +0200 |
commit | 8e0a1611cb891e72a9affc4a8ee4795c634896a6 (patch) | |
tree | 05c7376a7be9a41de27ac60a6b412807c0f09adb /drivers/video/wmt_ge_rops.h | |
parent | powerpc: Prepare to support kernel handling of IOMMU map/unmap (diff) | |
download | linux-8e0a1611cb891e72a9affc4a8ee4795c634896a6.tar.xz linux-8e0a1611cb891e72a9affc4a8ee4795c634896a6.zip |
powerpc: add real mode support for dma operations on powernv
The existing TCE machine calls (tce_build and tce_free) only support
virtual mode as they call __raw_writeq for TCE invalidation what
fails in real mode.
This introduces tce_build_rm and tce_free_rm real mode versions
which do mostly the same but use "Store Doubleword Caching Inhibited
Indexed" instruction for TCE invalidation.
This new feature is going to be utilized by real mode support of VFIO.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/video/wmt_ge_rops.h')
0 files changed, 0 insertions, 0 deletions