Re: [PATCH v4] usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN

2014-12-05 Thread Alan Stern
On Fri, 5 Dec 2014, Sebastian Andrzej Siewior wrote: > the following error pops up during "testusb -a -t 10" > | musb-hdrc musb-hdrc.1.auto: dma_pool_free buffer-128, > f134e000/be842000 (bad dma) > hcd_buffer_create() creates a few buffers, the smallest has 32 bytes of > size. ARCH_KMALLOC

[PATCH v4] usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN

2014-12-05 Thread Sebastian Andrzej Siewior
the following error pops up during "testusb -a -t 10" | musb-hdrc musb-hdrc.1.auto: dma_pool_free buffer-128, f134e000/be842000 (bad dma) hcd_buffer_create() creates a few buffers, the smallest has 32 bytes of size. ARCH_KMALLOC_MINALIGN is set to 64 bytes. This combo results in hcd_buffer_alloc()