[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <073b0ffb-187b-659e-0967-23ae44c5c660@candelatech.com>
Date: Mon, 21 Oct 2019 07:01:00 -0700
From: Ben Greear <greearb@...delatech.com>
To: Tomislav Požega <pozega.tomislav@...il.com>,
kvalo@...eaurora.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
ath10k@...ts.infradead.org, davem@...emloft.net,
torvalds@...ux-foundation.org, johannes@...solutions.net,
linux-wireless@...r.kernel.org
Subject: Re: WARNING at net/mac80211/sta_info.c:1057
(__sta_info_destroy_part2())
On 10/20/2019 08:12 AM, Tomislav Požega wrote:
>> -11 is -EAGAIN which would mean that the HTC credits have run out some
>> reason for the WMI command:
>>
>> if (ep->tx_credits < credits) {
>> ath10k_dbg(ar, ATH10K_DBG_HTC,
>> "htc insufficient credits ep %d required %d available %d\n",
>> eid, credits, ep->tx_credits);
>> spin_unlock_bh(&htc->tx_lock);
>> ret = -EAGAIN;
>> goto err_pull;
>> }
>>
>> Credits can run out, for example, if there's a lot of WMI command/event
>> activity and are not returned during the 3s wait, firmware crashed or
>> problems with the PCI bus.
>
> Hi
>
> Can this occur if the target memory is not properly allocated?
I have only seen this on wave-1 cards, and it is usually paired with situations
where the wave-1 stops doing WMI related interrupts properly as best as I can
understand. If I force the firmware to poll instead of waiting for irqs, then
WMI communication will work for a while...I have not implemented that on the
driver side though, so I still see these WMI timeout issues.
Thanks,
Ben
--
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc http://www.candelatech.com
Powered by blists - more mailing lists