Bug 176421 - mwifiex_sdio on Acer Chromebook 13 is unstable
Summary: mwifiex_sdio on Acer Chromebook 13 is unstable
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-05 15:59 UTC by Matías Zúñiga
Modified: 2017-07-19 18:58 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.8
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Matías Zúñiga 2016-10-05 15:59:28 UTC
After connecting to a WPA2 network, with a kernel version >= 4.6, SD8897 stops working.
Reverting commit 0cb52aac4d "mwifiex: do not set multiport flag for tx/rx single packet" fixes the problem.

Attached bellow is the log. the last 4 lines are spammed multiple times

kernel: mmc1: Timeout waiting for hardware interrupt.
kernel: sdhci: =========== REGISTER DUMP (mmc1)===========
kernel: sdhci: Sys addr: 0x00000000 | Version:  0x00000303
kernel: sdhci: Blk size: 0x00007100 | Blk cnt:  0x00000048
kernel: sdhci: Argument: 0x1a001051 | Trn mode: 0x00000033
kernel: sdhci: Present:  0x01fb0206 | Host ctl: 0x0000001b
kernel: sdhci: Power:    0x00000001 | Blk gap:  0x00000000
kernel: sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
kernel: sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
kernel: sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
kernel: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
kernel: sdhci: Caps:     0x376fd080 | Caps_1:   0x10000f70
kernel: sdhci: Cmd:      0x0000353a | Max curr: 0x00000000
kernel: sdhci: Host ctl2: 0x00000000
kernel: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fc04120c
kernel: sdhci: ===========================================
kernel: mwifiex_sdio mmc1:0001:1: mwifiex_sdio_card_to_host: read iomem failed: -110
kernel: mmc1: Got data interrupt 0x00100000 even though no data operation was in progress.
kernel: sdhci: =========== REGISTER DUMP (mmc1)===========
kernel: sdhci: Sys addr: 0x00000000 | Version:  0x00000303
kernel: sdhci: Blk size: 0x00007100 | Blk cnt:  0x00000048
kernel: sdhci: Argument: 0x1a001051 | Trn mode: 0x00000033
kernel: sdhci: Present:  0x01fb0000 | Host ctl: 0x0000001a
kernel: sdhci: Power:    0x00000001 | Blk gap:  0x00000000
kernel: sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
kernel: sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
kernel: sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
kernel: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
kernel: sdhci: Caps:     0x376fd080 | Caps_1:   0x10000f70
kernel: sdhci: Cmd:      0x0000353a | Max curr: 0x00000000
kernel: sdhci: Host ctl2: 0x00000000
kernel: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fc04120c
kernel: sdhci: ===========================================
kernel: mwifiex_sdio mmc1:0001:1: card_to_host_mpa failed: int status=0x1
kernel: mwifiex_sdio mmc1:0001:1: cmd_wait_q terminated: -110
kernel: mwifiex_sdio mmc1:0001:1: failed to get signal information
kernel: mwifiex_sdio mmc1:0001:1: host_to_card, write iomem        (1) failed: -110
kernel: mwifiex_sdio mmc1:0001:1: host_to_card, write iomem        (2) failed: -110
kernel: mwifiex_sdio mmc1:0001:1: host_to_card, write iomem        (3) failed: -110
kernel: mwifiex_sdio mmc1:0001:1: mwifiex_write_data_async failed: 0xFFFFFFFF
kernel: mwifiex_sdio mmc1:0001:1: host_to_card, write iomem        (1) failed: -110
kernel: mwifiex_sdio mmc1:0001:1: host_to_card, write iomem        (2) failed: -110
kernel: mwifiex_sdio mmc1:0001:1: host_to_card, write iomem        (3) failed: -110
kernel: mwifiex_sdio mmc1:0001:1: mwifiex_write_data_async failed: 0xFFFFFFFF
Comment 1 Matías Zúñiga 2017-07-19 18:58:27 UTC
Fixed with kernel 4.12

Note You need to log in before you can comment on or make changes to this bug.