From: Andi Kleen Date: Sun, 12 Feb 2006 22:34:59 +0000 (-0800) Subject: [PATCH] x86_64: GART DMA merging fix X-Git-Tag: v2.6.16-rc3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d541064e8f58858e11cd34d81b6e83617f6eb4a;p=pandora-kernel.git [PATCH] x86_64: GART DMA merging fix Don't touch the non DMA members in the sg list in dma_map_sg in the IOMMU Some drivers (in particular ST) ran into problems because they reused the sg lists after passing them to pci_map_sg(). The merging procedure in the K8 GART IOMMU corrupted the state. This patch changes it to only touch the dma* entries during merging, but not the other fields. Approach suggested by Dave Miller. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed