Re: [RFC 0/4] ARM: dma-mapping: IOMMU atomic allocation

2012-08-22 Thread Hiroshi Doyu
Hi Marek, Marek Szyprowski wrote @ Wed, 22 Aug 2012 14:04:26 +0200: > Hi Hiroshi, > > On Wednesday, August 22, 2012 12:20 PM Hiroshi Doyu wrote: > > > The commit e9da6e9 "ARM: dma-mapping: remove custom consistent dma > > region" breaks the compatibility with existing drivers. This causes > >

RE: [RFC 0/4] ARM: dma-mapping: IOMMU atomic allocation

2012-08-22 Thread Marek Szyprowski
Hi Hiroshi, On Wednesday, August 22, 2012 12:20 PM Hiroshi Doyu wrote: > The commit e9da6e9 "ARM: dma-mapping: remove custom consistent dma > region" breaks the compatibility with existing drivers. This causes > the following kernel oops(*1). That driver has called dma_pool_alloc() > to allocate

[RFC 0/4] ARM: dma-mapping: IOMMU atomic allocation

2012-08-22 Thread Hiroshi Doyu
Hi, The commit e9da6e9 "ARM: dma-mapping: remove custom consistent dma region" breaks the compatibility with existing drivers. This causes the following kernel oops(*1). That driver has called dma_pool_alloc() to allocate memory from the interrupt context, and it hits BUG_ON(in_interrpt()) in "get