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