Re: A question about ZONE_DMA

From: Oliver Neukum
Date: Wed Oct 13 2010 - 10:57:15 EST


Am Mittwoch, 13. Oktober 2010, 16:52:41 schrieb Casey Dahlin:
> Hi all,
>
> So if I understand correctly, ZONE_DMA exists to separate and preserve the
> chunk of memory to which older ISA cards are capable of doing DMA. The question
> that arises for me is:
>
> 1) Why do /all/ 32-bit boxes have a ZONE_DMA when surely only a tiny and
> shrinking number of them have a need for it?

You don't know before you load the module of the driver that needs it.

> 2) Why do /any/ 64-bit boxes have a ZONE_DMA? Is there really some godless
> monster out there who put an early ISA bridge and a 64-bit CPU on the same
> motherboard?!

Parports can use DMA and are generally ISA.

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