Skip to contentSkip to conversation

ASoC on today's linux-next: dma_alloc_writecombine() failing at least on OMAP platforms

DISCUSSION Peter Ujfalusi 2 participants 3 messages Sep 27, 2012 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hello,

I tried today's linux-next on OMAP platform and audio is not probing because dma_alloc_writecombine() fails to get the area.
My linux-next from two days ago works OK and I don't see anything directly connected to OMAP which can cause this failure.

Can someone try linux-next on non OMAP platform to see if dma_alloc_writecombine() works there?

Meanwhile I'll try to find the reason why it fails for me.

Thanks,
Péter

#1 lore raw
Quoted 4 lines · Peter Ujfalusi

Can someone try linux-next on non OMAP platform to see if dma_alloc_writecombine() works there?

Meanwhile I'll try to find the reason why it fails for me.

Do you have CMA enabled? There seems to be some breakage there for me on Samsung platforms, I saw this affecting all DMA users yesterday along with some other CMA related issues but didn't analyse it enough to report it.

#2 lore raw
Quoted 11 lines · Mark Brown
Quoted 4 lines · Peter Ujfalusi

Can someone try linux-next on non OMAP platform to see if dma_alloc_writecombine() works there?

Meanwhile I'll try to find the reason why it fails for me.

Do you have CMA enabled? There seems to be some breakage there for me on Samsung platforms, I saw this affecting all DMA users yesterday along with some other CMA related issues but didn't analyse it enough to report it.

I do had CMA enabled (not sure why) It has been enabled in my config for a long time.
Without CONFIG_CMA all is fine.

Thank you,
Péter