MMC Updates (in 4.4) break Wireless on Asus X205TA, commit: 9faac7b95, merged into 4.4 with 17a13590 [66b0199 + 7cc8d58]

From: Christian Bahls
Date: Tue Jan 05 2016 - 11:38:21 EST


[as i am not subscribed to lkml, if you answer please reply to my address also]


some MMC updates merged into 4.4 break the wireless (Broadcom 43340 (sdio))
(and possibly other stuff) on Asus X205TA.

I did a git bisect, the offending commit is: 9faac7b95

It was merged with other MMC updates into 4.4
with merge commit 17a13590 [66b0199 + 7cc8d58]


commit 9faac7b95ea4f9e83b7a914084cc81ef1632fd91
Author: Weijun Yang <york.yang@xxxxxxx>
Date: Sun Oct 4 12:04:12 2015 +0000

mmc: sdhci: enable tuning for DDR50
CMD19 tuning is also available for DDR50 mode.
Signed-off-by: Weijun Yang <york.yang@xxxxxxx>
Signed-off-by: Barry Song <Baohua.Song@xxxxxxx>
Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>


#################
# The following is a diff in dmesg output between the last working commit and failing commit


--- 1ca 2016-01-05 17:00:26.408000139 +0100
+++ 2ca 2016-01-05 17:00:38.324000212 +0100
@@ -1,7 +1,7 @@
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
-Linux version 4.3.0-rc7-00025-g4324f6d (root@compile) (gcc version 5.3.1 20151219 (Debian 5.3.1-4) ) #15 SMP Tue Jan 5 16:29:50 CET 2016
+Linux version 4.3.0-rc7-00026-g9faac7b (root@compile) (gcc version 5.3.1 20151219 (Debian 5.3.1-4) ) #14 SMP Tue Jan 5 16:26:32 CET 2016
KERNEL supported cpus:
Intel GenuineIntel
x86/fpu: Legacy x87 FPU detected.
@@ -241,13 +241,13 @@
ACPI: Added _OSI(3.0 _SCP Extensions)
ACPI: Added _OSI(Processor Aggregator Device)
ACPI: Dynamic OEM Table Load:
-ACPI: SSDT 0x00000000F62CA000 000501 (v01 PmRef Cpu0Ist 00003000 INTL 20061109)
+ACPI: SSDT 0x00000000F62CC000 000501 (v01 PmRef Cpu0Ist 00003000 INTL 20061109)
ACPI: Dynamic OEM Table Load:
-ACPI: SSDT 0x00000000F62EF800 000433 (v01 PmRef Cpu0Cst 00003001 INTL 20061109)
+ACPI: SSDT 0x00000000F62F3800 000433 (v01 PmRef Cpu0Cst 00003001 INTL 20061109)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0x00000000F62AC200 00015F (v01 PmRef ApIst 00003000 INTL 20061109)
ACPI: Dynamic OEM Table Load:
-ACPI: SSDT 0x00000000F62ABAC0 00008D (v01 PmRef ApCst 00003000 INTL 20061109)
+ACPI: SSDT 0x00000000F62F4F40 00008D (v01 PmRef ApCst 00003000 INTL 20061109)
ACPI: Interpreter enabled
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20150818/hwxface-580)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20150818/hwxface-580)
@@ -441,18 +441,37 @@
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
-mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
-mmc1: new ultra high speed DDR50 SDIO card at address 0001
+sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
+mmc1: tuning execution failed
+mmc1: error -5 whilst initialising SDIO card
+mmc1: Controller never released inhibit bit(s).
+mmc1: Unexpected interrupt 0x04000000.
mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
+sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
+mmc1: tuning execution failed
+mmc1: error -5 whilst initialising SDIO card
+mmc1: Controller never released inhibit bit(s).
+mmc1: Unexpected interrupt 0x04000000.
mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
+mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
+sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
+mmc1: tuning execution failed
+mmc1: error -5 whilst initialising SDIO card
+mmc1: Controller never released inhibit bit(s).
+mmc1: Unexpected interrupt 0x04000000.
EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
+sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
+mmc1: tuning execution failed
+mmc1: error -5 whilst initialising SDIO card
+mmc1: Controller never released inhibit bit(s).
+mmc1: Unexpected interrupt 0x04000000.
+EXT4-fs (mmcblk0p3): re-mounted. Opts: discard,errors=remount-ro
mmc2: new high speed SDXC card at address aaaa
mmcblk1: mmc2:aaaa SL64G 59.4 GiB mmcblk1: p1
-EXT4-fs (mmcblk0p3): re-mounted. Opts: discard,errors=remount-ro
ACPI: AC Adapter [ADP1] (on-line)
sst-acpi 80860F28:00: No matching ASoC machine driver found
input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
@@ -498,6 +517,7 @@
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
+usbcore: registered new interface driver brcmfmac
cfg80211: World regulatory domain updated:
cfg80211: DFS Master region: unset
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
@@ -509,30 +529,3 @@
cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
-sdio_read_cis: 7 callbacks suppressed
-mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
-mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
-mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
-mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
-brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43340 rev 2 pmurev 20
-usbcore: registered new interface driver brcmfmac
-brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Jun 17 2014 11:48:43 version 6.10.190.49 (r485840) FWID 01-8744bcd2
-brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
-brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
-brcmfmac: brcmf_add_if: ignore IF event
-cfg80211: Regulatory domain changed to country: DE
-cfg80211: DFS Master region: ETSI
-cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
-cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
-cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (N/A)
-cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s)
-cfg80211: (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2698 mBm), (0 s)
-cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
-cfg80211: Regulatory domain changed to country: DE
-cfg80211: DFS Master region: ETSI
-cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
-cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
-cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (N/A)
-cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s)
-cfg80211: (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2698 mBm), (0 s)
-cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)



##########################################
# My git bisect history:

# bad: [168309855a7d1e16db751e9c647119fe2d2dc878] Linux 4.4-rc8
# good: [c13dcf9f2d6f5f06ef1bf79ec456df614c5e058b] Linux 4.2-rc8
git bisect start 'v4.4-rc8' 'v4.2-rc8'
# good: [fa6ad058bc77b6ae69bd4512b538245ee5db39eb] mlxsw: reg: Adjust definition of enum mlxsw_reg_sfgc_type
git bisect good fa6ad058bc77b6ae69bd4512b538245ee5db39eb
# bad: [52787e91bf5375e68e90f381bd157bd92e1f4a77] Merge tag 'regulator-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
git bisect bad 52787e91bf5375e68e90f381bd157bd92e1f4a77
# bad: [e0700ce70921fbe3d1913968c663beb9df2b01a9] Merge tag 'dm-4.4-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
git bisect bad e0700ce70921fbe3d1913968c663beb9df2b01a9
# good: [f32bfb9a8ca083f8d148ea90ae5ba66f4831836e] sh_eth: use DMA barriers
git bisect good f32bfb9a8ca083f8d148ea90ae5ba66f4831836e
# bad: [b02ac6b18cd4e2c76bf0a102c20c429b973f5f76] Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad b02ac6b18cd4e2c76bf0a102c20c429b973f5f76
# bad: [7b2a4306f9e7d64bb408a6df3bb419500578068a] Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 7b2a4306f9e7d64bb408a6df3bb419500578068a
# bad: [bc9d8c20ffb47e64a41a4716a06d37cdf88fcc42] Merge tag 'pinctrl-v4.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect bad bc9d8c20ffb47e64a41a4716a06d37cdf88fcc42
# bad: [17a1359034e1fb5cfe9e5196a8ab5153acfacdc6] Merge tag 'mmc-v4.4' of git://git.linaro.org/people/ulf.hansson/mmc
git bisect bad 17a1359034e1fb5cfe9e5196a8ab5153acfacdc6
# bad: [6e622947e149fa9fd62e3609aab010935c8e10bd] mmc: mediatek: change the argument "ddr" to "timing"
git bisect bad 6e622947e149fa9fd62e3609aab010935c8e10bd
# bad: [4351f19a337d48a780762d076408ebe9b0c1f945] clk: rockchip: Make calculations use rounding
git bisect bad 4351f19a337d48a780762d076408ebe9b0c1f945
# good: [8131e815f723ec8fee018d6fa34348d61c0e54b8] mmc: mediatek: Add MMC_CAP_RUNTIME_RESUME support
git bisect good 8131e815f723ec8fee018d6fa34348d61c0e54b8
# good: [b093410c9aef29efbf2f4af7b00b2dcc1c119fe8] mmc: block: copy resp[] data on err for MMC_IOC_MULTI_CMD
git bisect good b093410c9aef29efbf2f4af7b00b2dcc1c119fe8
# bad: [659c9bc114a810b3a3c1e50585cc57f1312a6d60] mmc: sdhci-pci: Build o2micro support in the same module
git bisect bad 659c9bc114a810b3a3c1e50585cc57f1312a6d60
# bad: [9faac7b95ea4f9e83b7a914084cc81ef1632fd91] mmc: sdhci: enable tuning for DDR50
git bisect bad 9faac7b95ea4f9e83b7a914084cc81ef1632fd91
# good: [4324f6de6d2eb9b232410eb0d67bfafdde8ba711] mmc: core: enable CMD19 tuning for DDR50 mode
git bisect good 4324f6de6d2eb9b232410eb0d67bfafdde8ba711
# first bad commit: [9faac7b95ea4f9e83b7a914084cc81ef1632fd91] mmc: sdhci: enable tuning for DDR50


--
Leider ist diese E-Mail unverschlÃsselt versendet worden.
Es wÃre wÃnschenswert einen grÃÃeren Anteil der E-Mails
verschlÃsselt zu versenden und damit etwas PrivatsphÃre
zurÃckgewinnen zu kÃnnen.

----- End forwarded message -----

--
Leider ist diese E-Mail unverschlÃsselt versendet worden.
Es wÃre wÃnschenswert einen grÃÃeren Anteil der E-Mails
verschlÃsselt zu versenden und damit etwas PrivatsphÃre
zurÃckgewinnen zu kÃnnen.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/