[BISECTED] v4.9: OMAP MMC regression

Aaro Koskinen aaro.koskinen at iki.fi
Thu Dec 22 12:58:43 PST 2016


Hi,

On Sun, Dec 18, 2016 at 12:01:21AM +0200, Aaro Koskinen wrote:
> OMAP MMC is silently missing when booting v4.9 on Nokia 770 (OMAP1).
> 
> Bisected to:
> 
> commit 2d1a9a946faebfedd660a1f1c2b90984fff41f91
> Author: Peter Ujfalusi <peter.ujfalusi at ti.com>
> Date:   Wed Jul 20 11:50:29 2016 +0300
> 
>     dmaengine: omap-dma: Dynamically allocate memory for lch_map
> 
> Reveting the commit makes MMC to appear and work again...

This commit basically reduces dma_requests count to 17 (from 127)
on OMAP1.

This cannot be correct, since OMAP1 MMC is using requests (from
omap1_init_mmc):

                        rx_req = 22;
                        tx_req = 21;
[...]
                        rx_req = 55;
                        tx_req = 54;

MMC probe will fail because omap_dma_filter_fn() will fail during
dma_request_chan().

I think 2d1a9a946faebfedd660a1f1c2b90984fff41f91 should be reverted.
I cannot anymore boot my 770 with >= 4.9 kernel.

A.



More information about the linux-arm-kernel mailing list