All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: Bough Chen <haibo.chen@nxp.com>
Cc: linux-mmc <linux-mmc@vger.kernel.org>,
	Adrian Hunter <adrian.hunter@intel.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	Sebastian Reichel <sebastian.reichel@collabora.com>,
	Martin Fuzzey <martin.fuzzey@flowbird.group>
Subject: imx7d: Timeout waiting for hardware interrupt.
Date: Tue, 24 May 2022 10:31:01 -0300	[thread overview]
Message-ID: <CAOMZO5DCbC6MK=O1t20nLNKf2Oipf-Ar1TkHU+o9Bvpr0JRtxQ@mail.gmail.com> (raw)

Hi,

On an imx7d board running 5.10.y the following mmc2 timeout is observed:

mmc2: Timeout waiting for hardware interrupt.
mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
mmc2: sdhci: Sys addr:  0x82f9425c | Version:  0x00000002
mmc2: sdhci: Blk size:  0x0000002c | Blk cnt:  0x00000001
mmc2: sdhci: Argument:  0x1410002c | Trn mode: 0x00000013
mmc2: sdhci: Present:   0x01d88a0a | Host ctl: 0x00000013
mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
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: ============================================

The mmc2 interface is connected to an SDIO Wifi chip.

This irq timeout occurs very rarely.

Any suggestions on how to debug this?

Thanks,

Fabio Estevam

             reply	other threads:[~2022-05-24 13:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-24 13:31 Fabio Estevam [this message]
2022-05-25 10:21 ` imx7d: Timeout waiting for hardware interrupt Bough Chen
2022-05-26 19:07   ` Fabio Estevam
2022-10-18 12:29     ` Fabio Estevam
2022-10-18 17:20       ` Fabio Estevam
2022-10-19 10:48         ` Bough Chen
2022-10-19 13:10           ` Fabio Estevam
2022-10-19 14:26             ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOMZO5DCbC6MK=O1t20nLNKf2Oipf-Ar1TkHU+o9Bvpr0JRtxQ@mail.gmail.com' \
    --to=festevam@gmail.com \
    --cc=adrian.hunter@intel.com \
    --cc=haibo.chen@nxp.com \
    --cc=linux-imx@nxp.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=martin.fuzzey@flowbird.group \
    --cc=sebastian.reichel@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.