FUJITA Tomonori 5336940dd8 x86: fix pci-gart failure handling
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 <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-10-29 09:18:03 +01:00
..
2007-10-23 22:37:23 +02:00
2007-10-17 21:19:04 +02:00
2007-10-11 11:17:24 +02:00
2007-10-20 01:13:56 +02:00
2007-10-23 22:37:22 +02:00
2007-10-20 01:13:56 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-13 10:01:23 -07:00
2007-10-19 11:53:33 -07:00
2007-10-13 10:01:23 -07:00
2007-10-24 12:58:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-22 08:13:19 -07:00
2007-10-22 08:13:19 -07:00
2007-10-22 08:13:19 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-13 10:01:23 -07:00
2007-10-13 10:01:23 -07:00
2007-10-13 10:01:23 -07:00
2007-10-20 01:13:56 +02:00
2007-10-19 20:35:02 +02:00
2007-10-13 10:01:23 -07:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:24 +02:00
2007-10-23 22:37:23 +02:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-20 01:13:56 +02:00
2007-10-19 20:35:03 +02:00
2007-10-11 11:17:01 +02:00
2007-10-22 08:13:18 -07:00
2007-10-22 21:19:59 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-20 01:13:56 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-22 08:13:19 -07:00
2007-10-22 08:13:19 -07:00
2007-10-11 11:17:01 +02:00
2007-10-20 01:13:56 +02:00
2007-10-20 01:25:36 +02:00
2007-10-23 22:37:22 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-17 20:16:11 +02:00
2007-10-20 01:13:56 +02:00
2007-10-17 08:42:55 -07:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-13 10:01:23 -07:00
2007-10-12 23:04:23 +02:00
2007-10-17 20:16:08 +02:00
2007-10-17 20:16:08 +02:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:24 +02:00
2007-10-13 10:01:23 -07:00
2007-10-16 11:51:29 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00