diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-11-06 19:55:59 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-11-25 04:32:57 +0100 |
commit | 1f1616e864972fc82e1a144c7d23622d2aa2c6f2 (patch) | |
tree | 8e0439953be68803a6fc86384e7031212f5b1170 /arch/powerpc/include/asm/tce.h | |
parent | powerpc/pci: Change how re-assigning resouces work (diff) | |
download | linux-1f1616e864972fc82e1a144c7d23622d2aa2c6f2.tar.xz linux-1f1616e864972fc82e1a144c7d23622d2aa2c6f2.zip |
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.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 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) */ |