From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail2.candelatech.com ([208.74.158.173]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XUeEf-0003L5-GN for ath10k@lists.infradead.org; Thu, 18 Sep 2014 16:07:10 +0000 Message-ID: <541B0311.3060508@candelatech.com> Date: Thu, 18 Sep 2014 09:06:41 -0700 From: Ben Greear MIME-Version: 1.0 Subject: Re: Hard lockup during vif restart tests. References: <541884AC.3020402@candelatech.com> <5419AE32.6010805@candelatech.com> <87vbols7tg.fsf@kamboji.qca.qualcomm.com> In-Reply-To: <87vbols7tg.fsf@kamboji.qca.qualcomm.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Kalle Valo Cc: Michal Kazior , ath10k On 09/18/2014 12:31 AM, Kalle Valo wrote: > Michal Kazior writes: > >>> Why do we reset the firmware/NIC when we admin down/up the >>> vif (when a single vif is active)? Couldn't we just keep >>> the firmware active in this state and not risk lockup due >>> to reset? >> >> If you put down last interface mac80211 calls drv_stop(). There isn't >> any real need to keep the device up and running after that other than >> trying to workaround the reset issue. But then you need to deal with >> firmware quirks. I recall it could report Rx indications after all >> vdevs had been removed (and this is now also observable with 10.2 >> during probing/bootup). It's just simpler to reboot firmware on >> drv_stop/start(). > > And there's the reliability issue. Being able to reset the firmware with > interface down/up sequency is pretty useful and AFAIK almost all > upstream drivers do that. And let's not forget power consumption either. The fact that restarting firmware can hang the machine or require reboot to recover is so serious that I think a work-around is worth looking into. 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