All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hui Wang <hui.wang@canonical.com>
To: marex@denx.de
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Stable <stable@vger.kernel.org>
Subject: the commit c434e5e48dc4 (rsi: Use resume_noirq for SDIO) introduced driver crash in the 4.15 kernel
Date: Wed, 18 Aug 2021 12:06:15 +0800	[thread overview]
Message-ID: <2b77868b-c1e6-9f30-9640-5c82a82f5b31@canonical.com> (raw)

Hi Marex,

We backported this patch to ubuntu 4.15.0-generic kernel, and found this 
patch introduced the rsi driver crashing when running system resume on 
the Dell 300x IoT platform (100% rate). Below is the log, After seeing 
this log, the rsi wifi can't work anymore, need to run 'rmmod 
rsi_sdio;modprobe rsi_sdio" to make it work again.

So do you know what is missing apart from this patch or this patch is 
not suitable for 4.15 kernel at all?

Thanks,

Hui.


[  118.494238] Freezing user space processes ... (elapsed 0.001 seconds) 
done.
[  118.495866] OOM killer disabled.
[  118.495868] Freezing remaining freezable tasks ... (elapsed 0.001 
seconds) done.
[  118.497772] Suspending console(s) (use no_console_suspend to debug)
[  118.499120] rsi_91x: ===> Interface DOWN <===
[  129.013207] mmc1: Controller never released inhibit bit(s).
[  129.013216] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  129.013226] mmc1: sdhci: Sys addr:  0xffffffff | Version: 0x0000ffff
[  129.013233] mmc1: sdhci: Blk size:  0x0000ffff | Blk cnt: 0x0000ffff
[  129.013240] mmc1: sdhci: Argument:  0xffffffff | Trn mode: 0x0000ffff
[  129.013247] mmc1: sdhci: Present:   0xffffffff | Host ctl: 0x000000ff
[  129.013254] mmc1: sdhci: Power:     0x000000ff | Blk gap: 0x000000ff
[  129.013261] mmc1: sdhci: Wake-up:   0x000000ff | Clock: 0x0000ffff
[  129.013268] mmc1: sdhci: Timeout:   0x000000ff | Int stat: 0xffffffff
[  129.013276] mmc1: sdhci: Int enab:  0xffffffff | Sig enab: 0xffffffff
[  129.013283] mmc1: sdhci: ACmd stat: 0x0000ffff | Slot int: 0x0000ffff
[  129.013290] mmc1: sdhci: Caps:      0xffffffff | Caps_1: 0xffffffff
[  129.013297] mmc1: sdhci: Cmd:       0x0000ffff | Max curr: 0xffffffff
[  129.013304] mmc1: sdhci: Resp[0]:   0xffffffff | Resp[1]: 0xffffffff
[  129.013311] mmc1: sdhci: Resp[2]:   0xffffffff | Resp[3]: 0xffffffff
[  129.013316] mmc1: sdhci: Host ctl2: 0x0000ffff
[  129.013323] mmc1: sdhci: ADMA Err:  0xffffffff | ADMA Ptr: 0xffffffff
[  129.013327] mmc1: sdhci: ============================================
[  129.113415] mmc1: Reset 0x2 never completed.
[  129.113417] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  129.113421] mmc1: sdhci: Sys addr:  0xffffffff | Version: 0x0000ffff
[  129.113424] mmc1: sdhci: Blk size:  0x0000ffff | Blk cnt: 0x0000ffff
[  129.113428] mmc1: sdhci: Argument:  0xffffffff | Trn mode: 0x0000ffff
[  129.113431] mmc1: sdhci: Present:   0xffffffff | Host ctl: 0x000000ff
[  129.113435] mmc1: sdhci: Power:     0x000000ff | Blk gap: 0x000000ff
[  129.113439] mmc1: sdhci: Wake-up:   0x000000ff | Clock: 0x0000ffff
[  129.113442] mmc1: sdhci: Timeout:   0x000000ff | Int stat: 0xffffffff
[  129.113446] mmc1: sdhci: Int enab:  0xffffffff | Sig enab: 0xffffffff
[  129.113449] mmc1: sdhci: ACmd stat: 0x0000ffff | Slot int: 0x0000ffff
[  129.113453] mmc1: sdhci: Caps:      0xffffffff | Caps_1: 0xffffffff
[  129.113457] mmc1: sdhci: Cmd:       0x0000ffff | Max curr: 0xffffffff
[  129.113460] mmc1: sdhci: Resp[0]:   0xffffffff | Resp[1]: 0xffffffff
[  129.113464] mmc1: sdhci: Resp[2]:   0xffffffff | Resp[3]: 0xffffffff
[  129.113466] mmc1: sdhci: Host ctl2: 0x0000ffff
[  129.113470] mmc1: sdhci: ADMA Err:  0xffffffff | ADMA Ptr: 0xffffffff
[  129.113472] mmc1: sdhci: ============================================
[  129.213489] mmc1: Reset 0x4 never completed.
[  129.213490] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  129.213494] mmc1: sdhci: Sys addr:  0xffffffff | Version: 0x0000ffff
[  129.213498] mmc1: sdhci: Blk size:  0x0000ffff | Blk cnt: 0x0000ffff
[  129.213501] mmc1: sdhci: Argument:  0xffffffff | Trn mode: 0x0000ffff
[  129.213505] mmc1: sdhci: Present:   0xffffffff | Host ctl: 0x000000ff
[  129.213508] mmc1: sdhci: Power:     0x000000ff | Blk gap: 0x000000ff
[  129.213512] mmc1: sdhci: Wake-up:   0x000000ff | Clock: 0x0000ffff
[  129.213515] mmc1: sdhci: Timeout:   0x000000ff | Int stat: 0xffffffff
[  129.213519] mmc1: sdhci: Int enab:  0xffffffff | Sig enab: 0xffffffff
[  129.213523] mmc1: sdhci: ACmd stat: 0x0000ffff | Slot int: 0x0000ffff
[  129.213526] mmc1: sdhci: Caps:      0xffffffff | Caps_1: 0xffffffff
[  129.213530] mmc1: sdhci: Cmd:       0x0000ffff | Max curr: 0xffffffff
[  129.213534] mmc1: sdhci: Resp[0]:   0xffffffff | Resp[1]: 0xffffffff
[  129.213537] mmc1: sdhci: Resp[2]:   0xffffffff | Resp[3]: 0xffffffff
[  129.213540] mmc1: sdhci: Host ctl2: 0x0000ffff
[  129.213543] mmc1: sdhci: ADMA Err:  0xffffffff | ADMA Ptr: 0xffffffff
[  129.213545] mmc1: sdhci: ============================================
[  129.213882] rsi_91x: rsi_sdio_enable_interrupts: Failed to read int 
enable register
[  129.240392] rsi_91x: ===> Interface UP <===
[  129.240443] rsi_91x: rsi_disable_ps: Cannot accept disable PS in 
PS_NONE state


             reply	other threads:[~2021-08-18  4:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18  4:06 Hui Wang [this message]
2021-08-18  5:33 ` the commit c434e5e48dc4 (rsi: Use resume_noirq for SDIO) introduced driver crash in the 4.15 kernel Greg Kroah-Hartman
2021-08-18  9:04   ` Marek Vasut
2021-08-19  2:57     ` Hui Wang
2021-08-19  5:31       ` Greg Kroah-Hartman
2021-08-19  7:49         ` Marek Vasut
2021-08-19  8:52           ` Hui Wang
2021-08-19 10:57             ` Marek Vasut

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=2b77868b-c1e6-9f30-9640-5c82a82f5b31@canonical.com \
    --to=hui.wang@canonical.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=marex@denx.de \
    --cc=stable@vger.kernel.org \
    /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.