Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4561116rwl; Mon, 3 Apr 2023 06:46:51 -0700 (PDT) X-Google-Smtp-Source: AKy350blqZVCU/MnxBCfDaEiLnUmBD92xJdCk8HSNNFnNSj3yZkGRrcxULG2uISjn27/n4K203iz X-Received: by 2002:a17:906:5d03:b0:92f:495b:bc7c with SMTP id g3-20020a1709065d0300b0092f495bbc7cmr20118167ejt.23.1680529610956; Mon, 03 Apr 2023 06:46:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680529610; cv=none; d=google.com; s=arc-20160816; b=t+xF2QFieXKDoBsu+Y7dLguDiGdUfWPowMkg6nShb/76LKonNOxOlF70AbNzV04ESg LIWQKnakQKESbqOyXhu19nE4fQcRDvkqSih6cq7ZLMfkef5p2ZK08IS+U9gxBFnxeMjU N1wWHI7FPhYUfKUh0T0ySxlVi6DCbzkLNdPsLdKXHDmlpiQEx9alDmYUBMtAbIteewGS fJp6aRjExc7JBI5PAys5t3l1gd9qIsDZeGcdsOJVGkYG0oFRi2LTeOJ3CT7OkqSilQyh G7uCin7BMxrXi3SoT/Z82jMUa3yHaDiGElVOAYFq92NtcihPquqYDJP34HPoTQMZ+F+r gKCA== 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=q6fmNaJIG8nhrEYrENnuHQ5CTmKVS064D7+Az4npa7k=; b=lPp9aVOM740NFHrd/utnu+wpxkETURYAOgO8oq6GLYbW/cFC6R9bK94Or7Gu31+Bo8 skJsQj383M+ztlAl1T2T6E2ISGoAIfaL1+aJ/4jHI4JhEPpcYlGGyAEDEWMnsdTdjpZG 1wX9uJxb91GpajpK0oNnnpbhXUlRshLtSxDlxrcKpguHC5vg3gHEX6+g7vX5TF3zrcix GPTcbxY3/9Pvqk/b0D+Iqy+ScGy39VzU4Xnme7eUm/9zkExkhDS7W3w/1H9uvc+uEkiR VhyME7bmcifsDlxAcnBzXOozMOJ+u6NWWaK53RIHzpR/ftUPYKdVgpQSMwvQ2MncNoOz dyZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C9h0eTSp; 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 j21-20020a170906831500b009334efbad65si8075962ejx.163.2023.04.03.06.46.36; Mon, 03 Apr 2023 06:46:50 -0700 (PDT) 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=C9h0eTSp; 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 S232643AbjDCNgt (ORCPT + 59 others); Mon, 3 Apr 2023 09:36:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231730AbjDCNgo (ORCPT ); Mon, 3 Apr 2023 09:36:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 592C91025F for ; Mon, 3 Apr 2023 06:36:42 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id DCF3F61B8C for ; Mon, 3 Apr 2023 13:36:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD6C5C433D2; Mon, 3 Apr 2023 13:36:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680529001; bh=LBhVsuQk7H0HhCsrNJd5M3couUqj8lNk7mtStDxrbcM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=C9h0eTSpqed1CRKmq6P70oAUzIAAsATnfJA8hsHchRxyg176OcKvKgQFScTitzhqr jAo1nidxjrLOeUFo/3TyGKLddEQK0kywjuxlrsDSHbx7YCOZGON0gcjPZIPAZpG6BE NSqFXkum24TwmkNgs/tcVJsCh3FH16o9ziaxKRC7tfY/5384+vKLQuDx9M4nrFKEdw dsa7PIl1Z9ajGiwi/itcVAuGKaxhq31Roh4ReNayvHU4F3KQYlqsaLHmuRWlagIc6y K32NZ/71WwjDZ1g8oIBXM9h1s+a7dIHNWf2n85xLudz7T3p5keS0BWnMghtSrX1k1t uvxwagMXD/Rkw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] wifi: rtw89: add counters of register-based H2C/C2H From: Kalle Valo In-Reply-To: <20230316063956.71687-1-pkshih@realtek.com> References: <20230316063956.71687-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168052899889.11825.13843164993686537391.kvalo@kernel.org> Date: Mon, 3 Apr 2023 13:36:40 +0000 (UTC) X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Ping-Ke Shih wrote: > The register-based H2C/C2H are used to exchange information between driver > and firmware, but only apply to narrow area because its data size is > smaller than regular packet-based H2C/C2H. > > This kind of H2C/C2H must be paired. To identify if any H2C/C2H is missing, > update counters to help diagnose this kind of problems. > > Signed-off-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. e749ef968f14 wifi: rtw89: add counters of register-based H2C/C2H -- https://patchwork.kernel.org/project/linux-wireless/patch/20230316063956.71687-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches