Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1446869ybt; Sat, 27 Jun 2020 08:30:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+BjZD8LTECaB+4aOQqGAIwvLDA1rDRBAus8dB6v/ov1IQ8OMc0VdOtShVxroFLbzoEpv6 X-Received: by 2002:a17:906:c150:: with SMTP id dp16mr6925667ejc.536.1593271839596; Sat, 27 Jun 2020 08:30:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593271839; cv=none; d=google.com; s=arc-20160816; b=v435PH2tXcm0bm5J6fAxp2ZKVyuqVdGrPD70Pji5xpBwQFNNuPTDPfDZ4Qy+DfGomp ymjfMzS2y6VfIh1BqLxh/PQdv9ZRxDeeL/4cJoJV6H6p2wJmp1x82MtxRoTlIBzeYIAX 0jp3S5bHGD0YbT/B71b9AhPdRhZYzau0ihWTboVvN3d0M7xSqyqlQztM1aGYTTanpMKX wwsF6a5MNa0ThNTxmIUfolFND5li2Bj7j+Rw24bh6GXiskI6Bq7YJU5Eh9a2Snw673pI MLfU0TrKIWR0uXioJv7Fo9bWeQDJoQY3jpjB6Tq8gESzSdeXPxfFoq9zYOlCJ3tlLuYH r1Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:dkim-filter; bh=12EBjylcr88UzjdKDbysjyri4p8GZe2snNwxl4ENA6Y=; b=K5wucNwAUDRI5qPuYWL0lNZ8hMXu1tBID8Zku24kBwPZliAwBATwlC71P8UZ0YmdLs FllsEMFTXCFPo+cjOlBP+8/kHjqDnhZs8zLjL4YSL2znp2hfzSeybAKZj9x/cONcN2WT x0ZQwzM5Z68lGnezyJKGBvBT4rz85MbJImA/gC/1MtQAa3PZBzAGG8JmOEM9qgvyFzB5 EaAe4mDe25IUELSY3liABsMZY8p/ujqd3uZw+4hnt4bEd6B34eJpvBZCi8F189JuZC80 Jf5ZSIaIsqsUSr26U0zhN5yTm7CqT3FrIemos8ia74W5ym1FiZRQ4TIGMT8yRZ/SDFsj exmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=aNmpMkyD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si18955954ejr.423.2020.06.27.08.30.16; Sat, 27 Jun 2020 08:30:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=aNmpMkyD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726177AbgF0P2N (ORCPT + 99 others); Sat, 27 Jun 2020 11:28:13 -0400 Received: from mail2.candelatech.com ([208.74.158.173]:51244 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725864AbgF0P2N (ORCPT ); Sat, 27 Jun 2020 11:28:13 -0400 Received: from [192.168.254.4] (unknown [50.34.202.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id 63FC813C2B0; Sat, 27 Jun 2020 08:28:12 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 63FC813C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1593271692; bh=VIElPMOaz+an56oWfXmIMgNHcT684wvDDGVPb5pBwek=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=aNmpMkyD8WEBke1ruUJbDpl4IdBHK0YCxipoc9ek7MBs4B9YP5vcNsm+sZcKRNb2R x0i9X25QGIgpJblixHaThic0C5XH3ZXprr4FLgyzAHfhVlNy3OylaWBQrW/pS95U53 jMv0+idZ8mUJqql3aJaogDZD/Wo7mWpIdE9mkoEQ= Subject: Re: [PATCH] ath10k: Add history for tracking certain events To: Rakesh Pillai , ath10k@lists.infradead.org References: <1593238973-23237-1-git-send-email-pillair@codeaurora.org> Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org From: Ben Greear Message-ID: <926301ed-e27f-0d8f-0177-6484bfffa40c@candelatech.com> Date: Sat, 27 Jun 2020 08:28:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1593238973-23237-1-git-send-email-pillair@codeaurora.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: 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