Re: is WARN_ON(irqs_disabled) in dma_free_coherent() spurious ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 4 Sep 2009, Tony Olech wrote:

> > I'm not an expert on this...  As I recall, the WARN_ON is not spurious; 
> > some architectures (ARM maybe?) do require interrupts to be enabled in 
> > dma_free_coherent().  Basically it is a bug in their DMA 
> > implementation.
> > 
> > Alan Stern
> 
> So if that is the case, what is the procedure for getting all those
> USB device drivers changed so that they do not call usb_buffer_free()
> from the BULK OUT completed callback ??

There is no procedure.  If you want to change them, go ahead and change
them.  But really they should not be changed; instead dma_free_coherent
should be fixed.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux