Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760109AbXJZL6R (ORCPT ); Fri, 26 Oct 2007 07:58:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753931AbXJZL6A (ORCPT ); Fri, 26 Oct 2007 07:58:00 -0400 Received: from brick.kernel.dk ([87.55.233.238]:29743 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753550AbXJZL57 (ORCPT ); Fri, 26 Oct 2007 07:57:59 -0400 Date: Fri, 26 Oct 2007 13:56:04 +0200 From: Jens Axboe To: FUJITA Tomonori Cc: linux-kernel@vger.kernel.org, tomof@acm.org Subject: Re: [PATCH] x86: fix pci-gart failure handling Message-ID: <20071026115604.GI5155@kernel.dk> References: <20071026080814Z.fujita.tomonori@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071026080814Z.fujita.tomonori@lab.ntt.co.jp> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 666 Lines: 18 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 gart_unmap_sg. > > Signed-off-by: FUJITA Tomonori Thanks Tomo, applied! -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/