From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail2.candelatech.com ([208.74.158.173]) by merlin.infradead.org with esmtp (Exim 4.85 #2 (Red Hat Linux)) id 1alroY-0002rQ-5M for ath10k@lists.infradead.org; Fri, 01 Apr 2016 05:40:11 +0000 Message-ID: <56FE0834.4000109@candelatech.com> Date: Thu, 31 Mar 2016 22:33:40 -0700 From: Ben Greear MIME-Version: 1.0 Subject: Re: Deadlock on (faked) firmware crash, CUS239, modified 10.4.3 firmware. References: <56F5F38A.2070602@candelatech.com> <56FC52F5.7080407@candelatech.com> <56FD77A1.2010807@candelatech.com> In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Michal Kazior Cc: ath10k On 03/31/2016 10:26 PM, Michal Kazior wrote: > On 31 March 2016 at 21:16, Ben Greear wrote: > [...] >> I tried adding check for FW crash yesterday, but that did not help. >> >> Today, I added a limit of 2000 loops. I see that hit, and then kernel >> crashes. Maybe my patch is wrong. >> >> I've tried to apply (almost) every patch in linux.ath related to ath10k, >> including a few from the mailing list that have not been applied yet. >> >> My push-pending method now looks like this: >> >> void ath10k_mac_tx_push_pending(struct ath10k *ar) >> { > [...] >> } > > Looks sane. > > >> The crash I get is this: >> >> >> ath10k_pci 0000:05:00.0: firmware crashed! (uuid >> 2a118708-977d-43d6-8d40-079ddec99eb3) > [...] >> BUG: unable to handle kernel paging request at 0000000000001000 >> IP: [] __skb_dequeue+0x2e/0x37 [mac80211] > > Hmm.. Do you have 2a58d42c1e01 ("mac80211: fix txq queue related > crashes") applied? Yes, though it is a different hash in my tree, probably merge issues. See the patches I posted today to fix stale access to peer objects, that seems to have fixed these problems for me, or at least made it much harder to hit. At quitting time, I was still seeing kasan errors in mac80211 stats logic, so there are more bugs waiting for tomorrow. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k