powerpc/pseries: Fix software invalidate TCE
authorMichael Neuling <mikey@neuling.org>
Tue, 26 Jun 2012 21:26:37 +0000 (21:26 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 29 Jun 2012 04:35:37 +0000 (14:35 +1000)
commitbc6dc752f35488160ffac07ae91bed1bddaea32a
treee0bb99ac436f5b03dd83eb62e9d8561707c3620a
parent0b17ba7258db83cd02da560884e053b85de371f2
powerpc/pseries: Fix software invalidate TCE

The following added support for powernv but broke pseries/BML:
 1f1616e powerpc/powernv: Add TCE SW invalidation support

TCE_PCI_SW_INVAL was split into FREE and CREATE flags but the tests in
the pseries code were not updated to reflect this.

Signed-off-by: Michael Neuling <mikey@neuling.org>
cc: stable@kernel.org [v3.3+]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/iommu.c