powerpc/powernv: Fix invalid IOMMU table
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 25 Apr 2013 19:21:02 +0000 (19:21 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:10:00 +0000 (16:10 +1000)
commit959c9bdd5828981d3d226873aba930019798fa65
tree944f6ccb4e992c2a700653cd9271cfde4642372f
parent373f565741a3636954cd87034d9ebb1dc7bfd716
powerpc/powernv: Fix invalid IOMMU table

Ben found the root cause. Commit 37f02195bee9c25ce44e25204f40b7961a6d7c9d
("powerpc/pci: fix PCI-e devices rescan issue on powerpc platform")
overwrites the IOMMU table of PCI device while enabling PCI device.
The patch intends to fix the IOMMU table after that point.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci-ioda.c