RE: [EXT] [BUG BISECT] Net boot fails on VF50 after "dmaengine: fsl-edma: support little endian for edma driver"

From: Peng Ma
Date: Wed Jul 03 2019 - 22:10:29 EST


Hi Krzysztof,

I am sorry, It is my mistake to forget about VF50 used EDMA IP with little endian.
The Register(CHCFG0 - CHCFG15) of our platform designed as follows:
*-------------------------------------------------------------------------------*
| Offset | Big endian Register| Little endian Register|
|---------------------|--------------------------|-----------------------------|
| 0x0 | CHCFG0 | CHCFG3 |
|---------------------|--------------------------|-----------------------------|
| 0x1 | CHCFG1 | CHCFG2 |
|---------------------|--------------------------|-----------------------------|
| 0x2 | CHCFG2 | CHCFG1 |
|---------------------|--------------------------|-----------------------------|
| 0x3 | CHCFG3 | CHCFG0 |
|---------------------|--------------------------|-----------------------------|
| ... | ...... | ...... |
|---------------------|--------------------------|-----------------------------|
| 0xC | CHCFG12 | CHCFG15 |
|---------------------|--------------------------|-----------------------------|
| 0xD | CHCFG13 | CHCFG14 |
|---------------------|--------------------------|-----------------------------|
| 0xE | CHCFG14 | CHCFG13 |
|---------------------|--------------------------|-----------------------------|
| 0xF | CHCFG15 | CHCFG12 |
*-------------------------------------------------------------------------------*

So we need this patch, I make some changes,Please help me to test attatchment on VF50 board,
Thanks.

Best Regards,
Peng
>-----Original Message-----
>From: Krzysztof KozÅowski <k.kozlowski.k@xxxxxxxxx>
>Sent: 2019å7æ2æ 20:13
>To: Peng Ma <peng.ma@xxxxxxx>; Vinod Koul <vkoul@xxxxxxxxxx>;
>dmaengine@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
>Subject: [EXT] [BUG BISECT] Net boot fails on VF50 after "dmaengine:
>fsl-edma: support little endian for edma driver"
>
>Caution: EXT Email
>
>Hi,
>
>Bisect pointed commit:
>commit 002905eca5bedab08bafd9e325bbbb41670c7712
>Author: Peng Ma <peng.ma@xxxxxxx>
>Date: Thu Jun 13 10:27:08 2019 +0000
> dmaengine: fsl-edma: support little endian for edma driver
>
>as a reason of NFSv4 root boot failures. Toradex Colibri VF50 (Cortex
>A5) on Toradex Iris board.
>
>The user-space starts but hangs - a lot of messages are missing or seriously
>delayed.
>
>Please revert the patch of fix it. If needed I can provide more details about test
>system - let me know.
>
>Full log attached.
>
>Best regards,
>Krzysztof

Attachment: 0001-dmaengine-fsl-edma-support-little-endian-for-edma-dr.patch
Description: 0001-dmaengine-fsl-edma-support-little-endian-for-edma-dr.patch