Re: imx7d: Timeout waiting for hardware interrupt.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bough,

On Thu, May 26, 2022 at 4:07 PM Fabio Estevam <festevam@xxxxxxxxx> wrote:
>
> Hi Bough,
>
> On Wed, May 25, 2022 at 7:21 AM Bough Chen <haibo.chen@xxxxxxx> wrote:
>
> > Hi Fabio,
> >
> > According to the log, ADMA Err:  0x00000007, seems meet ADMA length miss match issue, please double check whether the following patch is on your side:
> > commit e30be063d6dbcc0f18b1eb25fa709fdef89201fb mmc: sdhci-esdhc-imx: correct the fix of ERR004536
> >
> > also please add the following patch for suspend/resume case
> > commit a26a4f1baca55a05aecd8d7181802979a93e3d46 mmc: sdhci-esdhci-imx: retune needed for Mega/Mix enabled SoCs
>
> Both commits are present in 5.10 stable, thanks.
>
> I am testing a devicetree change.

After 5 months, the "Timeout waiting for hardware interrupt." error
happened again
on the imx7d-based board running kernel 5.10.y from the stable tree:

mmc2: Timeout waiting for hardware interrupt.
mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
mmc2: sdhci: Sys addr:  0x8310c85c | Version:  0x00000002
mmc2: sdhci: Blk size:  0x0000002c | Blk cnt:  0x00000001
mmc2: sdhci: Argument:  0x1410002c | Trn mode: 0x00000013
mmc2: sdhci: Present:   0x01dd8a0a | Host ctl: 0x00000013
mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x0000007f
mmc2: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
mmc2: sdhci: Int enab:  0x107f100b | Sig enab: 0x107f100b
mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000302
mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
mmc2: sdhci: Resp[0]:   0x00001000 | Resp[1]:  0x00000000
mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
mmc2: sdhci: Host ctl2: 0x00000000
mmc2: sdhci: ADMA Err:  0x00000007 | ADMA Ptr: 0x9c042200
mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
mmc2: sdhci-esdhc-imx: cmd debug status:  0x2100
mmc2: sdhci-esdhc-imx: data debug status:  0x2200
mmc2: sdhci-esdhc-imx: trans debug status:  0x2300
mmc2: sdhci-esdhc-imx: dma debug status:  0x2402
mmc2: sdhci-esdhc-imx: adma debug status:  0x25b4
mmc2: sdhci-esdhc-imx: fifo debug status:  0x2610
mmc2: sdhci-esdhc-imx: async fifo debug status:  0x2751
mmc2: sdhci: ============================================

Would you have any other suggestions as to why this timeout happens?

Thanks,

Fabio Estevam



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux