[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100802235521D.fujita.tomonori@lab.ntt.co.jp>
Date: Mon, 2 Aug 2010 23:56:12 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: konrad.wilk@...cle.com
Cc: fujita.tomonori@....ntt.co.jp, konrad@...nel.org,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
ak@...ux.intel.com, akataria@...are.com
Subject: Re: [PATCH] swiotlb: enlarge iotlb buffer on demand
On Mon, 2 Aug 2010 09:40:08 -0400
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com> wrote:
> I am curious about the handling of the -ENOMEM stage. Naturally we would
> return an error the device - are the most common ones (ahci, r8169,
> ata_piix - those that are DMA_32) equipped to deal with unavailable memory?
libata does dma mapping for ata drivers. It can handle mapping errors.
Looks like r8169 can't handle errors.
All drivers should handle mapping errors because IOMMUs are pretty
common now. I think that drivers that vendor people are serious about
can handle mapping errors.
--
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