From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Joerg Pommnitz <pommnitz@yahoo.com>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: Yesterdays kernel/git/kvalo/ath.git failes with COMPEX WLE600VX
Date: Fri, 20 Nov 2015 13:34:48 +0200 [thread overview]
Message-ID: <87a8q8uco7.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1749993920.7465237.1447934318588.JavaMail.yahoo@mail.yahoo.com> (Joerg Pommnitz's message of "Thu, 19 Nov 2015 11:58:38 +0000 (UTC)")
Joerg Pommnitz <pommnitz@yahoo.com> writes:
> Hello all,
> Kalles current git tree fails to initialize my COMPEX WLE600VX. The kernel log shows
> [ 16.373978] ath10k_pci 0000:05:00.0: failed to wake up device : -110
> [ 16.374118] ath10k_pci: probe of 0000:05:00.0 failed with error -110
Can you send full dmesg, right from the beginning of the boot, please?
It might give some hints.
I have a similar problem in one of my laptop (lenovo thinkpad x230). The
patch below helps with that one, but I haven't investigated it more yet.
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -2811,6 +2811,18 @@ static int ath10k_pci_claim(struct ath10k *ar)
pci_set_drvdata(pdev, ar);
+ /*
+ * Without any knowledge of the Host, the Target may have been
reset or
+ * power cycled and its Config Space may no longer reflect the
PCI
+ * address space that was assigned earlier by the PCI
infrastructure.
+ * Refresh it now.
+ */
+ ret = pci_assign_resource(pdev, BAR_NUM);
+ if (ret) {
+ ath10k_err(ar, "failed to assign PCI space: %d\n", ret);
+ return ret;
+ }
+
ret = pci_enable_device(pdev);
if (ret) {
ath10k_err(ar, "failed to enable pci device: %d\n",
ret);
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2015-11-20 11:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1749993920.7465237.1447934318588.JavaMail.yahoo.ref@mail.yahoo.com>
2015-11-19 11:58 ` Yesterdays kernel/git/kvalo/ath.git failes with COMPEX WLE600VX Joerg Pommnitz
2015-11-20 11:34 ` Kalle Valo [this message]
2015-11-20 13:31 ` Joerg Pommnitz
2015-11-25 12:21 ` Kalle Valo
2015-11-20 13:49 ` Joerg Pommnitz
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=87a8q8uco7.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=pommnitz@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox