Re: [PATCH] introduce config option to disable DMA zone on i386

From: Robert Hancock
Date: Thu Dec 28 2006 - 13:33:24 EST


Arjan van de Ven wrote:
Hi,

since one gets random corruption if a user gets this wrong, at least
make things like floppy and all CONFIG_ISA stuff conflict with this
option.... without that your patch feels like a walking time bomb...
(and please include all PCI drivers that only can do 24 bit or 28bit
or .. non-32bit dma as well)

That sounds like a bug if this can happen. Drivers should be failing to initialize if they can't set the proper DMA mask, and the DMA API calls should be failing if the requested DMA mask can't be provided.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

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