powerpc/pseries: Fix software invalidate TCE
authorMichael Neuling <mikey@neuling.org>
Tue, 26 Jun 2012 21:26:37 +0000 (21:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 16:03:21 +0000 (09:03 -0700)
commit8057f6c444173496806618f2fe173c2f02fb3995
tree452d6469fee0fd2a457ea1aeff2fe4cc8ea7eccb
parent3fb55c2a681f7618c828b5853abc27f86d7e9fe1
powerpc/pseries: Fix software invalidate TCE

commit bc6dc752f35488160ffac07ae91bed1bddaea32a upstream.

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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/pseries/iommu.c