Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0131C433EF for ; Wed, 17 Nov 2021 09:00:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A530361BF5 for ; Wed, 17 Nov 2021 09:00:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234768AbhKQJDr (ORCPT ); Wed, 17 Nov 2021 04:03:47 -0500 Received: from so254-9.mailgun.net ([198.61.254.9]:45170 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232197AbhKQJDn (ORCPT ); Wed, 17 Nov 2021 04:03:43 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1637139642; h=Date: Message-ID: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=3hreFxFHtbQ0izQqhx3XYL+J9hIMiI0WfjRmzFBqzks=; b=HGkFnaqyIyq3zsIEqvDaAy4R9R29z1IIdxsLVoIzaCOoPucd257Et9frC3W6yfOcnU4THH+J U9UDCaXgbfby4Tt7CKVWhncC0tPR8dNlHXmHgEClZAZ3tscaabPe7hGRGljpUNCxFYO3iW9a z6IZzlGElLgRJyMLHNFgJrpHEJ4= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 6194c4b30a5410021b6a35b4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 17 Nov 2021 09:00:35 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id F016FC4338F; Wed, 17 Nov 2021 09:00:34 +0000 (UTC) Received: from tykki.adurom.net (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 45FB0C4360C; Wed, 17 Nov 2021 09:00:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 45FB0C4360C Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/2] ath11k: add dbring debug support From: Kalle Valo In-Reply-To: <1636439522-14509-1-git-send-email-quic_vnaralas@quicinc.com> References: <1636439522-14509-1-git-send-email-quic_vnaralas@quicinc.com> To: Venkateswara Naralasetty Cc: , , Venkateswara Naralasetty User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <163713962902.10263.772030244296005272.kvalo@codeaurora.org> Date: Wed, 17 Nov 2021 09:00:34 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Venkateswara Naralasetty wrote: > Target copies spectral report and CFR report through dbring to > host for further processing. This mechanism involves ring and > buffer management in the Host, FW, and uCode, where improper > tail pointer update issues are seen. > > This dbring debug support help to debug such issues by tracking > head and tail pointer movement along with the timestamp at which > each buffer is received and replenished. > > Usage: > > echo > /sys/kernel/debug/ath11k/ipq8074_2/ > mac0/enable_dbr_debug > > module_id: 0 for spectral and 1 for CFR > val: 0 - disable, 1 - enable. > > Tested-on: IPQ8074 WLAN.HK.2.4.0.1-01467-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Venkateswara Naralasetty Failed to apply: error: patch failed: drivers/net/wireless/ath/ath11k/dbring.c:94 error: drivers/net/wireless/ath/ath11k/dbring.c: patch does not apply stg import: Diff does not apply cleanly 2 patches set to Changes Requested. 12609785 [1/2] ath11k: add dbring debug support 12609787 [2/2] ath11k: add spectral/CFR buffer validation support -- https://patchwork.kernel.org/project/linux-wireless/patch/1636439522-14509-1-git-send-email-quic_vnaralas@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches