Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1389916pxm; Thu, 24 Feb 2022 02:05:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNJ69DDVnU8D6k/wi0iE8i3icpDFBr1tKNakO4B+wkuRWSiabo606FXafcyLksxat+zxm0 X-Received: by 2002:aa7:da51:0:b0:410:84fd:613a with SMTP id w17-20020aa7da51000000b0041084fd613amr1534618eds.390.1645697103688; Thu, 24 Feb 2022 02:05:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645697103; cv=none; d=google.com; s=arc-20160816; b=yDEfzXZfs4srayrfu/mk8mddLhkAnLSDJT6+Jxv1GE+3O4Hve0uHUzOuN8I9sgU2Zv wa0M5bjXF6YceSMDPgTMzMKFfK5EISMlPl2sEHXsUQ2iO6E6jclkx/4lGA9cRL7xAnbD Hj1IOgC9ZbGv88Pp5msAq4AsQi/7ahnsOpCLCuTaquorFkl+xSy3+QgITlXMM1YG7gGk Br8QocSbOJ9qDKnrz/IsAgAJdqNz99oT/7F123EzTLlBeeYaDDusGH8GBWGaTDCuQbb5 5MERnebb99CWneS7tAAm9hGzceEleKA4kcvLXJSFo6Spe2vU81TcLMecszAIahrIbaUl wtmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=TziW0Ky1JMCaUF9XeF0DnM0J1L+RgvIuO+X7ctm50yo=; b=HS3EmW+olOxevqkxtQ1HqGAnQIQD8USZtOKfE7wRzI61vVppptNer6yASrQ9Iadtvm vSQT7GNzOcvr5KdZCg8GmrdbEbCscbY3uAdffsoxF3+5HBDm/Mw+IEntUYtlFHZe/gq5 5d5WfjfgsdRPWmad0ONyEd4lfjmXQss2U0UaKj/In+ZjiWvooSlitYl7ZNCP5YtXAHFl O+YDKODA7hIJbHFPHXgTOlQcDQiri/Flc65Gl8e7Z4Eq4dVgUKc7k3T5s9AUuObqxaYH PEBsHimhffU/FIGS2xo0QZE6O68xGlaZTq843iJFYKAznmCnODnwZymQj/SobeNY/ikm bohQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WJDrokWB; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gx19si1266892ejc.454.2022.02.24.02.04.45; Thu, 24 Feb 2022 02:05:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WJDrokWB; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232488AbiBXJDw (ORCPT + 73 others); Thu, 24 Feb 2022 04:03:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232531AbiBXJDv (ORCPT ); Thu, 24 Feb 2022 04:03:51 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAEB4187E39 for ; Thu, 24 Feb 2022 01:03:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D6EF9B81C4A for ; Thu, 24 Feb 2022 09:03:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87D0DC340E9; Thu, 24 Feb 2022 09:03:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645693398; bh=Ye/kOTRU54AFDLMzyPkcnEa1MMb05KmMsi0JsDv28tw=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=WJDrokWBfK0VHDtZfRMZXxCu3t7xyDI0biy+DT9SlP729C1BT0NxDxWaoU/Lkqkj8 zzodrd13KSyffZxo4IuImFscoiM2s7FXCP3CYsEa0FQ47lHIvaKIXkYOU+6quYmaRL EXuf24GBifNbJKQ96tbCSAdaKxLbXSXBpTqmaJYN4KjTK6FWPGcLsxXAHA0DPt7kzc pTlXq2UdxLn2KvCtZiDHn3+nx/aKsDPrVHlsTMe99NxZ2YYanylkFTxOdvj8coTKSr qsWkODcff+/ePB1WaB1Q5B4m4EscmqERFDAeQzL6WkFxjpgzmojnO/SaIWnbMs1jli UqMQEkB24CvyA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCHv3] ath11k: add dbring debug support From: Kalle Valo In-Reply-To: <1645366059-11798-1-git-send-email-quic_vnaralas@quicinc.com> References: <1645366059-11798-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: <164569339560.30378.9204871614230045974.kvalo@kernel.org> Date: Thu, 24 Feb 2022 09:03:17 +0000 (UTC) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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. > > Provide a debugfs interface to enalbe/disable dbring debug > support and dump the dbring debug entries. > > Also introduced a new hardware param to add dbring debugfs support > for few hardwares which are using dbings. > > Usage: > > echo > /sys/kernel/debug/ath11k/ipq8074_2/ > mac0/enable_dbr_debug > > dbr_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 > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 691425b4a41f ath11k: add dbring debug support -- https://patchwork.kernel.org/project/linux-wireless/patch/1645366059-11798-1-git-send-email-quic_vnaralas@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches