[PATCH] ppc64: iommu vmerge fix
authorBrian King <brking@us.ibm.com>
Wed, 17 Aug 2005 21:32:18 +0000 (07:32 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 17 Aug 2005 21:41:22 +0000 (14:41 -0700)
commitac9af7cba9e642961bfdee1a1fac6060405597e5
tree5baf99a801a00137fefb158983c88180d36fa999
parent75e8727fbb3749075b6df36be636a3045ed9d515
[PATCH] ppc64: iommu vmerge fix

This fixes a bug in the PPC64 iommu vmerge code which results in the
potential for iommu_unmap_sg to go off unmapping more than it should.

This was found on a test system which resulted in PCI bus errors due to
PCI memory being unmapped while DMAs were still in progress.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/iommu.c