]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: GART DMA merging fix
authorAndi Kleen <ak@suse.de>
Sun, 12 Feb 2006 22:34:59 +0000 (14:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 13 Feb 2006 00:10:47 +0000 (16:10 -0800)
commit904329aa46f321eb134173581f674099600f4494
tree2118bef73c46aa505eb54cdbbfe80e0c7ab93738
parentd9a1a6aea43946478aef22e14cdace2214ffffb1
[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 <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/pci-gart.c