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>
This commit is contained in:
Benjamin Herrenschmidt
2011-11-06 18:55:59 +00:00
parent 48c2ce97fa
commit 1f1616e864
3 changed files with 78 additions and 16 deletions

View File

@@ -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) */