powerpc/powernv: Fix iommu initialization again
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 07:54:09 +0000 (17:54 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 08:10:29 +0000 (18:10 +1000)
commit74251fe21bfa9310ddba9e0436d1fcf389e602ee
treed463b49c185831ba4ee38c11f3414f4abdd9f951
parent24a72acac155576d630cf4304fa9cefb9b62ea1f
powerpc/powernv: Fix iommu initialization again

So because those things always end up in trainwrecks... In 7846de406
we moved back the iommu initialization earlier, essentially undoing
37f02195b which was causing us endless trouble... except that in the
meantime we had merged 959c9bdd58 (to workaround the original breakage)
which is now ... broken :-)

This fixes it by doing a partial revert of the latter (we keep the
ppc_md. path which will be needed in the hotplug case, which happens
also during some EEH error recovery situations).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org> [v3.10]
arch/powerpc/platforms/powernv/pci-ioda.c