All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Stultz <john.stultz@linaro.org>
To: Kalle Valo <kvalo@codeaurora.org>,
	Tony Lindgren <tony@atomide.com>,
	Johannes Berg <johannes.berg@intel.com>
Cc: linux-wireless@vger.kernel.org
Subject: TI wlcore wifi not loading w/ v5.3-rc1
Date: Mon, 22 Jul 2019 15:20:16 -0700	[thread overview]
Message-ID: <CALAqxLXrB0YvdK=MgbbF94QcQwqPV-FvHtm=uOVURuphFx=OfA@mail.gmail.com> (raw)

Hey folks,

Testing on my HiKey960, I'm seeing:
[    8.894909] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[    8.902017] ------------[ cut here ]------------
[    8.906832] WARNING: CPU: 0 PID: 5 at net/wireless/core.c:868
wiphy_register+0x8b4/0xc08
[    8.914932] Modules linked in:
[    8.917999] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G S
    5.3.0-rc1-00095-g1ddb90492e79 #504
[    8.927657] Hardware name: HiKey960 (DT)
[    8.931590] Workqueue: events request_firmware_work_func
[    8.936904] pstate: 60400005 (nZCv daif +PAN -UAO)
[    8.941704] pc : wiphy_register+0x8b4/0xc08
[    8.945891] lr : wiphy_register+0x8b4/0xc08
[    8.950076] sp : ffffff801006bbf0
[    8.953390] x29: ffffff801006bbf0 x28: 0000000000000000
[    8.958704] x27: 000000000000002d x26: 0000000000000001
[    8.964019] x25: 000000000000002f x24: 0000000000000000
[    8.969334] x23: ffffffc217505d98 x22: ffffffc217503f00
[    8.974650] x21: ffffff80117c9000 x20: 00000000000007dc
[    8.979963] x19: ffffffc217504300 x18: ffffffffffffffff
[    8.985276] x17: 0000000000000000 x16: 0000000000000000
[    8.990592] x15: ffffff80117c9a88 x14: ffffff809006b957
[    8.995908] x13: ffffff801006b965 x12: ffffff80117f0000
[    9.001223] x11: 0000000005f5e0ff x10: ffffff801006b8f0
[    9.006537] x9 : ffffff80117c9ac0 x8 : ffffff801054b798
[    9.011852] x7 : 00000000000002ad x6 : 0000000000000028
[    9.017168] x5 : ffffff8011d72dd8 x4 : 0000000000000000
[    9.022482] x3 : 0000000000000000 x2 : 1814804b8988b000
[    9.027800] x1 : 0000000000000000 x0 : 0000000000000024
[    9.033113] Call trace:
[    9.035559]  wiphy_register+0x8b4/0xc08
[    9.039396]  ieee80211_register_hw+0x43c/0xb88
[    9.043846]  wlcore_nvs_cb+0x8c8/0xae0
[    9.047603]  request_firmware_work_func+0x48/0x88
[    9.052310]  process_one_work+0x1f0/0x430
[    9.056321]  worker_thread+0x48/0x4b0
[    9.059987]  kthread+0x128/0x130
[    9.063219]  ret_from_fork+0x10/0x1c
[    9.066792] ---[ end trace bfe1c71ef18337b1 ]---
[    9.071626] wlcore: ERROR unable to register mac80211 hw: -22

Which seems to be caused by commit 901bb9891855 ("nl80211: require and
validate vendor command policy"), and I've validated that reverting
that gets it working again.

It seems like from the commit message, the wlcore driver isn't
providing the policy values the network core expects? I'm not sure
what the right fix would be, but wanted to raise the issue.

Suggestions?

thanks
-john

             reply	other threads:[~2019-07-22 22:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22 22:20 John Stultz [this message]
2019-07-23  5:11 ` TI wlcore wifi not loading w/ v5.3-rc1 Johannes Berg
2019-07-23  5:24   ` John Stultz

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='CALAqxLXrB0YvdK=MgbbF94QcQwqPV-FvHtm=uOVURuphFx=OfA@mail.gmail.com' \
    --to=john.stultz@linaro.org \
    --cc=johannes.berg@intel.com \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tony@atomide.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.