From: Alexey Kardashevskiy Date: Wed, 28 Aug 2013 08:37:43 +0000 (+1000) Subject: powerpc: add real mode support for dma operations on powernv X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~19^2~46^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e0a1611cb891e72a9affc4a8ee4795c634896a6;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed