Yesterdays kernel/git/kvalo/ath.git failes with COMPEX WLE600VX

Joerg Pommnitz pommnitz at yahoo.com
Fri Nov 20 05:49:00 PST 2015


Kalle,
your patch did not really make a difference. ath10k now says:
[   13.098404] ath10k_pci 0000:05:00.0: BAR 0: assigned [mem 0x48400000-0x485fffff 64bit]
[   13.128788] ath10k_pci 0000:05:00.0: failed to wake up device : -110
[   13.146877] ath10k_pci: probe of 0000:05:00.0 failed with error -110

dmesg log is attached.


--
  Regards       Joerg


> Kalle Valo <kvalo at qca.qualcomm.com> schrieb am 12:35 Freitag, 20.November 2015:
> > Joerg Pommnitz <pommnitz at 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.3.0-patched.log
Type: application/octet-stream
Size: 38084 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20151120/483be5cb/attachment-0001.obj>


More information about the ath10k mailing list