[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090128093443H.fujita.tomonori@lab.ntt.co.jp>
Date: Wed, 28 Jan 2009 09:35:17 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: stefanr@...6.in-berlin.de
Cc: fujita.tomonori@....ntt.co.jp,
linux1394-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: swiotlb default size (64 MB) too small?
On Wed, 28 Jan 2009 01:03:34 +0100 (CET)
Stefan Richter <stefanr@...6.in-berlin.de> wrote:
> > FUJITA Tomonori wrote:
> >> On Tue, 27 Jan 2009 18:03:40 +0100 (CET)
> >> Stefan Richter <stefanr@...6.in-berlin.de> wrote:
> >>> + if (orb->page_table_bus)
> >>> + dma_unmap_single(card_device, orb->page_table_bus,
> >>> + sizeof(orb->page_table), DMA_TO_DEVICE);
> >>
> >> Well, this does not look correct since zero can be a valid dma
> >> address.
>
>
> From: Stefan Richter <stefanr@...6.in-berlin.de>
> Subject: firewire: sbp2: fix DMA mapping leak on the failure path
>
> Reported-by: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
> who also provided a first version of the fix.
>
> Signed-off-by: Stefan Richter <stefanr@...6.in-berlin.de>
> ---
> drivers/firewire/fw-sbp2.c | 27 +++++++++++++++++----------
> 1 file changed, 17 insertions(+), 10 deletions(-)
It's time to ask him to test this patch with the default or _less_
swiotlb resource, I guess.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists