Re: [PATCH] swiotlb: enlarge iotlb buffer on demand
From: FUJITA Tomonori
Date: Mon Aug 02 2010 - 10:56:30 EST
On Mon, 2 Aug 2010 09:40:08 -0400
Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/