Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1014694ybv; Thu, 13 Feb 2020 14:03:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxV5cOBDu37jMsltmFTyu2WODQ+ocZ+OBDz2MbjXioKUnbwTEsejw4QjDcJXP7pMd3xoFyv X-Received: by 2002:aca:5a04:: with SMTP id o4mr4441262oib.71.1581631392161; Thu, 13 Feb 2020 14:03:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581631392; cv=none; d=google.com; s=arc-20160816; b=0K6iZooUddz9k19b1rh3B5KykTqy1LQTiwJp6OLLTcFnm2JwNC/t7wo/xp9gVMstGG 7n+Jht1tPA+J4HZ+T60fBr3B8aX//ml3Xv2tQsS1BsuF0D8+drT7ISrXKdLSTprLiyEC etSZ5JBCqszqPfdZO7YyWTpcWbvelt/HVRDlFKVQR414+4C5aCYYxJSLtOivaSWJyTQ9 SLn+k3i9/IN/Ah4eL4lS8nfgVsDmZ2rYvOScNukngW+TE3+UQLc2cyLPQ0YJAZBUP3hu Pg8FrE5Vbd/VwYY/aOZ4Lw1Z1A/VsczIlshfdHEeaq6Md+CdUXCrZaL7NaA772JJQ6mm zjIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to:message-id:from :content-transfer-encoding:mime-version:date:to:subject:references :cc:dkim-signature; bh=/H25Ntzq5GhZEzxDEWAUk2cWpXoHsQi11PWiKlH9h+Q=; b=M15CaddB44gwTOC4fAgDhLjThP11YQAx4o4ahMxQi+BQpFoomZdXQWB4/8yUiw75ND Wihh4Li0k0ooa3Qyat1NI4Nx3pR243aWHoEENDIAcrcBk1jneww802ThYgs3lMvY3zSb NacqnkWqZOtQtP4NkaXT+kmDPHfJzzbgOcj7DlTPZLxW2/t5extmk4DoUgKQd5AS2klR OtMRq8vK9H3Lpp8mxDUWmDWYGVlsSvwSiYAaDzxf7RaTMRjUKhKt3+pbWyMlHWZJ5/52 q73bRtFjiGtTJLyQ9fLFNXiC4dGRYTq6IwMNt4AA/igrPKpe4obgyu4bPWAfE7mdBo+P TTYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XIiVq9sN; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si1762134otn.180.2020.02.13.14.02.43; Thu, 13 Feb 2020 14:03:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XIiVq9sN; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727902AbgBMVyy (ORCPT + 99 others); Thu, 13 Feb 2020 16:54:54 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36926 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727845AbgBMVyy (ORCPT ); Thu, 13 Feb 2020 16:54:54 -0500 Received: by mail-wm1-f67.google.com with SMTP id a6so8481400wme.2; Thu, 13 Feb 2020 13:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:references:subject:to:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=/H25Ntzq5GhZEzxDEWAUk2cWpXoHsQi11PWiKlH9h+Q=; b=XIiVq9sNfiYBWhXPTTeOa3mYbejzfH7yYAutDvrsHNEnutkNt7xRJTbj8dw1e54jc+ Bu7ps6byEMh/oKpRo7PRH8jaC92i5V3dn+cu8EDfJUXaLK8pAeFZerZULXNQTMgc0cPU SDR6OCQFjdSWNEXqeHbSEU9Oh4ka2EWhB64frK701HPWWfxc5oXi13oZtG0FHMZx91y4 mlesPlyk6jxf29dyfo/RrVnt5k2vykmvfZHi4HX3sh+VsxQR46jth8O1aQr1KD/IZOhN 8QPx8d47FliACI/KeJcEC43OLzGKBthKQn8tBc/RT30BtbVQv9tO9FqI7T2cMObVz02W Fvjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:references:subject:to:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=/H25Ntzq5GhZEzxDEWAUk2cWpXoHsQi11PWiKlH9h+Q=; b=lZybpdNvnfs5VFJiErWZF/FqXoA71yjAGvPQjSxSk17ZACYzusSrePiiERi08JIqPe FXQp/2pXoayQmThDWHbPYr+XpvtCWXaFykKP8NAj0QJmkEvQuaIBdVErp4pGi6oM4EU4 rOuQi6418BXcCUQchKuwZktZOF3nlMw9bsqrRVnWhB2+Pwd2ux65vSG0dCTDjAXfC2Jd 2v8fXiCKYzJp39MbYLW155DhWUl++jVYI7lEQF15xTjVq1USNiJRESB55gdXFRDtg/hh l2lcs9FRhb1qoq4ytgnWM94mKx/C4j7oW+57hUUp3RM6ChAUmZ2u+9NaBgZ9GxpsD30r 3zLQ== X-Gm-Message-State: APjAAAVcacbIcLPGsQa7VmPXa0PLUMy+GdHnM37GGamzhMOz+wP7ouPC 0lvZP3NIorQ6mBslEGehXno= X-Received: by 2002:a7b:cb97:: with SMTP id m23mr117151wmi.37.1581630892601; Thu, 13 Feb 2020 13:54:52 -0800 (PST) Received: from supervisor.net28 ([46.53.250.234]) by smtp.gmail.com with ESMTPSA id s139sm4805306wme.35.2020.02.13.13.54.51 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 13 Feb 2020 13:54:52 -0800 (PST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Cc: linux-bluetooth@vger.kernel.org, linux-omap@vger.kernel.org, linux-wireless@vger.kernel.org References: <20200211214705.GD16391@atomide.com> <20200211232425.GE16391@atomide.com> <20200212150722.GF16391@atomide.com> <20200212162131.GI16391@atomide.com> <20200213041112.GL16391@atomide.com> <20200213161157.GN16391@atomide.com> Subject: Droid 4 WiFi firmware loading error To: sre@kernel.org Date: Fri, 14 Feb 2020 00:54:50 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Arthur D." Message-ID: In-Reply-To: <20200213161157.GN16391@atomide.com> User-Agent: Opera Mail/12.16 (Linux) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello. Some users have reported that they have issues with WiFi firmware loading on Droid 4. The fragment of dmesg for the issue follows at the bottom of this mail. With the help of Tony Lindgren I have found that the root of the issue was Bluetooth firmware loaded before WiFi driver (wlcore). Now we need to change the kernel to make it load Bluetooth firmware only after WiFi firmware is loaded. So the bug will not be triggered. Any ideas on how it should be done? P.S. When I do "rmmod hci_uart" on Droid 4 device, I get something like endless loop of error reporting from kernel. The fragment of dmesg can be downloaded from https://dropmefiles.com/wCPMF I'm not sure where to report this one. -- Best regards, Arthur D. [ 15.951904] ------------[ cut here ]------------ [ 16.028137] WARNING: CPU: 1 PID: 23 at drivers/net/wireless/ti/wlcore/sdio.c:78 wl12xx_sdio_raw_read+0xcc/0x15c [wlcore_sdio] [ 16.211669] Modules linked in: omapdrm drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea snd_soc_omap_hdmi wl12xx wlcore mac80211 panel_dsi_cm libarc4 sha256_generic libsha256 sha256_arm cfg80211 joydev mousedev evdev pwm_vibra snd_soc_audio_graph_card ff_memless phy_generic snd_soc_simple_card_utils phy_mapphone_mdm6600(+) led_bl cpufreq_dt gpio_keys pwm_omap_dmtimer connector_hdmi omapdss omapdss_base omap4_keypad drm matrix_keymap drm_panel_orientation_quirks cec omap_mailbox omap_sham omap_aes_driver omap2430 ohci_platform ohci_hcd ehci_omap ehci_hcd st_accel_spi st_sensors_spi st_accel_i2c st_sensors_i2c st_accel st_sensors industrialio_triggered_buffer kfifo_buf omap_des libdes crypto_engine omap_crypto wlcore_sdio omap_hdq wire cn phy_cpcap_usb musb_hdrc cpcap_adc udc_core cpcap_battery usbcore usb_common rtc_cpcap cpcap_pwrbutton cpcap_charger phy_omap_usb2 industrialio snd_soc_cpcap leds_cpcap atmel_mxt_ts hci_uart btbcm lm75 [ 16.211669] leds_lm3532 [ 16.226989] systemd-journald[105]: Compressed data object 989 -> 808 using LZ4 [ 17.050018] hwmon led_class bluetooth ecdh_generic ecc libaes motorola_mdm n_gsm snd_soc_omap_mcbsp snd_soc_ti_sdma snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer omap_wdt watchdog snd soundcore autofs4 [ 17.144073] phy-mapphone-mdm6600 usb-phy@1: Waiting for power up request to complete.. [ 17.255035] CPU: 1 PID: 23 Comm: kworker/1:1 Tainted: G W 5.5.0-00039-gadd2f906e747-dirty #23 [ 17.657806] Hardware name: Generic OMAP4 (Flattened Device Tree) [ 17.657867] Workqueue: events request_firmware_work_func [ 17.861297] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 17.861297] [] (show_stack) from [] (dump_stack+0xb4/0xd0) [ 17.861450] [] (dump_stack) from [] (__warn+0xd0/0xf8) [ 17.861450] [] (__warn) from [] (warn_slowpath_fmt+0xa4/0xb4) [ 17.861450] [] (warn_slowpath_fmt) from [] (wl12xx_sdio_raw_read+0xcc/0x15c [wlcore_sdio]) [ 17.861633] [] (wl12xx_sdio_raw_read [wlcore_sdio]) from [] (wl12xx_get_mac+0x150/0x324 [wl12xx]) [ 17.861938] [] (wl12xx_get_mac [wl12xx]) from [] (wlcore_nvs_cb+0x250/0xad8 [wlcore]) [ 17.862121] [] (wlcore_nvs_cb [wlcore]) from [] (0xeccfdb00) [ 17.868988] ---[ end trace b49285f1f3a91e50 ]--- [ 17.868988] wl1271_sdio mmc4:0001:2: sdio read failed (-110) [ 17.869079] wlcore: ERROR couldn't get hw info