Thread (10 messages) flat view 10 messages, 3 authors, 2011-03-24

Hit BUG_ON in dma-mapping.c:425

From: Russell King - ARM Linux <hidden>
Date: 2011-01-05 16:56:22
Also in: lkml

On Wed, Jan 05, 2011 at 05:49:12PM +0100, Nicolas Ferre wrote:
Hi,

While running mtd_stresstest on a dataflash (atmel_spi 
+ mtd_dataflash drivers) I hit the BUG_ON directive that 
is at the beginning of ___dma_single_cpu_to_dev() function.
This function is called from the SPI driver that do a 
dma_map_single() before DMA operations on the buffer 
transmitted from upper layers.

It seems that this address is above "high_memory" limit because 
it is allocated by vmalloc (in mtd_stresstest.c:285)...
Well, its telling you is that you're not allowed to DMA to vmalloc
addresses.  Whether that's the fault of the map driver or not is a
question for mtd folk.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help