Re: [PATCH] drivers: rtl818x: request DMA-able memory

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Berg
Date: Monday, October 25, 2010 - 7:23 am

On Mon, 2010-10-25 at 15:11 +0100, Hin-Tak Leung wrote:



I think there's some confusion here about ZONE_DMA vs. DMA-able memory.
All memory you get with kmalloc can be used for DMA, GFP_DMA means using
ZONE_DMA which is a hack for ISA (and in b43 maybe PCMCIA/Cardbus)
devices to put memory into something they can address. I don't think the
latter is necessary for USB devices.

johannes

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] drivers: rtl818x: request DMA-able memory, Serafeim Zanikolas, (Sun Oct 24, 1:32 pm)
Re: [PATCH] drivers: rtl818x: request DMA-able memory, Larry Finger, (Mon Oct 25, 6:24 am)
Re: [PATCH] drivers: rtl818x: request DMA-able memory, John W. Linville, (Mon Oct 25, 6:35 am)
Re: [PATCH] drivers: rtl818x: request DMA-able memory, John W. Linville, (Mon Oct 25, 7:22 am)
Re: [PATCH] drivers: rtl818x: request DMA-able memory, Johannes Berg, (Mon Oct 25, 7:23 am)
Re: [PATCH] drivers: rtl818x: request DMA-able memory, Serafeim Zanikolas, (Mon Oct 25, 10:44 am)