RE: [PATCH 1/2] usb: cdns3: Use dma_pool_* api to alloc trb pool

2021-03-14 Thread Sanket Parmar
Hi Peter, > > On 21-03-09 06:19:39, Sanket Parmar wrote: > > Allocation of DMA coherent memory in atomic context using > > dma_alloc_coherent() might fail on platforms with smaller > > DMA region. > > > > To fix it, dma_alloc_coherent() is replaced with dma_pool > > API to allocate a smaller chunk

Re: [PATCH 1/2] usb: cdns3: Use dma_pool_* api to alloc trb pool

2021-03-13 Thread Peter Chen
On 21-03-09 06:19:39, Sanket Parmar wrote: > Allocation of DMA coherent memory in atomic context using > dma_alloc_coherent() might fail on platforms with smaller > DMA region. > > To fix it, dma_alloc_coherent() is replaced with dma_pool > API to allocate a smaller chunk of DMA coherent memory fo

[PATCH 1/2] usb: cdns3: Use dma_pool_* api to alloc trb pool

2021-03-08 Thread Sanket Parmar
Allocation of DMA coherent memory in atomic context using dma_alloc_coherent() might fail on platforms with smaller DMA region. To fix it, dma_alloc_coherent() is replaced with dma_pool API to allocate a smaller chunk of DMA coherent memory for TRB rings. Fixes: 7733f6c32e36 ("usb: cdns3: Add Cad