diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-11-06 18:55:59 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-11-25 14:32:57 +1100 |
commit | 1f1616e864972fc82e1a144c7d23622d2aa2c6f2 (patch) | |
tree | 8e0439953be68803a6fc86384e7031212f5b1170 /arch/powerpc/include | |
parent | 48c2ce97fa406607ca5e11a76cf507d171452dd9 (diff) | |
download | op-kernel-dev-1f1616e864972fc82e1a144c7d23622d2aa2c6f2.zip op-kernel-dev-1f1616e864972fc82e1a144c7d23622d2aa2c6f2.tar.gz |
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')
-rw-r--r-- | arch/powerpc/include/asm/tce.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/tce.h b/arch/powerpc/include/asm/tce.h index 3dead82..743f36b 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) */ |