aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/tce.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-11-06 18:55:59 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-11-25 14:32:57 +1100
commit1f1616e864972fc82e1a144c7d23622d2aa2c6f2 (patch)
tree8e0439953be68803a6fc86384e7031212f5b1170 /arch/powerpc/include/asm/tce.h
parent48c2ce97fa406607ca5e11a76cf507d171452dd9 (diff)
powerpc/powernv: Add TCE SW invalidation support
This is used for newer IO Hubs such as p7IOC. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/tce.h')
-rw-r--r--arch/powerpc/include/asm/tce.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/tce.h b/arch/powerpc/include/asm/tce.h
index 3dead82d5979..743f36b38e5d 100644
--- a/arch/powerpc/include/asm/tce.h
+++ b/arch/powerpc/include/asm/tce.h
@@ -31,7 +31,9 @@
*/
#define TCE_VB 0
#define TCE_PCI 1
-#define TCE_PCI_SW_INVAL 2
+#define TCE_PCI_SWINV_CREATE 2
+#define TCE_PCI_SWINV_FREE 4
+#define TCE_PCI_SWINV_PAIR 8
/* TCE page size is 4096 bytes (1 << 12) */