Re: [patch v2] x86: allow ZONE_DMA to be configurable

From: H. Peter Anvin
Date: Thu Apr 21 2011 - 00:08:21 EST


On 04/20/2011 07:31 PM, David Rientjes wrote:
>>
>> This isn't really a very good edit, as ZONE_DMA isn't inherently limited
>> to ISA/LPC devices (and LPC devices which do LPC-native bus mastering
>> DMA are not affected.) ZONE_DMA is used even for some PCI devices which
>> have restrictions on the DMA address mask.
>>
>
> Peter, do you think we can merge this patch now? The discussion from
> October resulted in the decision to rename CONFIG_EMBEDDED to
> CONFIG_EXPERT and make CONFIG_GENERIC_ISA_DMA and CONFIG_ISA_DMA_API
> configurable for x86. That's all been done via the -mm tree and is in the
> latest git.
>
> We've run without ZONE_DMA for a few years without issues (and, obviously,
> this patch) on x86.

Please address the documentation issues. ZONE_DMA is *NOT* just for
"old ISA devices" -- there are plenty of other devices with restricted
DMA masks.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/