]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9f53333182859f78ceb902930cc048379e731b9
tree944f6ccb4e992c2a700653cd9271cfde4642372f
parent5fab4fdbf877d86233645302e73662e9790cb160
powerpc/powernv: Fix invalid IOMMU table

Ben found the root cause. Commit 5cb0ae5aee1c28bc76193d587b51a6baf2455e85
("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