Re: [PATCH] x86: fix pci-gart failure handling

2007-10-26 Thread Jens Axboe
On Fri, Oct 26 2007, FUJITA Tomonori wrote: > blk_rq_map_sg doesn't initialize sg->dma_address/length to zero > anymore. Some low level drivers reuse sg lists without initializing so > IOMMUs might get non-zero dma_address/length. If map_sg fails, we need > pass the number of the mapped entries to

[PATCH] x86: fix pci-gart failure handling

2007-10-25 Thread FUJITA Tomonori
blk_rq_map_sg doesn't initialize sg->dma_address/length to zero anymore. Some low level drivers reuse sg lists without initializing so IOMMUs might get non-zero dma_address/length. If map_sg fails, we need pass the number of the mapped entries to gart_unmap_sg. Signed-off-by: FUJITA Tomonori <[EMA