From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail2.candelatech.com ([208.74.158.173] helo=mail3.candelatech.com) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpCke-00077q-0z for ath10k@lists.infradead.org; Sat, 27 Jun 2020 15:28:26 +0000 Subject: Re: [PATCH] ath10k: Add history for tracking certain events References: <1593238973-23237-1-git-send-email-pillair@codeaurora.org> From: Ben Greear Message-ID: <926301ed-e27f-0d8f-0177-6484bfffa40c@candelatech.com> Date: Sat, 27 Jun 2020 08:28:11 -0700 MIME-Version: 1.0 In-Reply-To: <1593238973-23237-1-git-send-email-pillair@codeaurora.org> 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: Rakesh Pillai , ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org On 06/26/2020 11:22 PM, Rakesh Pillai wrote: > For debugging many issues, a history of the > below mentioned events can help get an idea > of what exactly was going on just before any > issue occurred in the system. These event > history will be collected only when the host > driver is run in debug mode (i.e. with the > config ATH10K_DEBUG enabled). This should be disabled by default unless user specifically pokes some debugfs value to turn it on so that it does not impact performance. Thanks, Ben > > Add history for tracking the below events > - register read > - register write > - IRQ trigger > - IRQ Enable > - IRQ Disable > - NAPI poll > - CE service > - WMI cmd > - WMI event > - WMI tx completion > > This will help in debugging any crash or any > improper behaviour. -- Ben Greear Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k