From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail27.static.mailgun.info ([104.130.122.27]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC4RW-0000LZ-Hr for ath10k@lists.infradead.org; Wed, 11 Mar 2020 16:42:53 +0000 MIME-Version: 1.0 Subject: Re: [PATCH v2] ath10k: fix unsupported chip reset debugs file write From: Kalle Valo In-Reply-To: <1581670278-5682-1-git-send-email-yintang@codeaurora.org> References: <1581670278-5682-1-git-send-email-yintang@codeaurora.org> Message-Id: <20200311164242.536E8C433BA@smtp.codeaurora.org> Date: Wed, 11 Mar 2020 16:42:42 +0000 (UTC) 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: Yingying Tang Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Yingying Tang wrote: > Before this change, after writing "warm_hw_reset" debugfs file, host > will send chip reset command to FW even though FW do not support this > service getting a warning print. > > Though there is no FW impact before this change, this patch restricts > chip reset command sent to FW only if FW advertises the support via WMI > service bit. > > Removed the redundant check and ath10k_warn() print as well. > > New version FW will report chip reset service bit to host. Host allow user > to trigger WLAN chip reset only when fw report this service bit. > > For older NON-TLV FW, since it do not report chip reset service bit, host > will not send chip reset command. For older TLV FW, since it report chip > reset service bit, host will send chip reset command. > > Tested HW: QCA9984, WCN3990 > > QCA9984 FW version: WLAN.BL.3.9.0.2-00042-S-1 > > Signed-off-by: Yingying Tang > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. bbdc8c5abbd4 ath10k: fix unsupported chip reset debugs file write -- https://patchwork.kernel.org/patch/11381921/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k