Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp559400rdb; Thu, 30 Nov 2023 11:45:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGf3Ax65+AUs4HH+MVgJ+/mopJitHabzhCOhYj+9TLNvL71mONiSPY+A0yvOA89/tQFJPFw X-Received: by 2002:a05:620a:6846:b0:77d:70fe:e247 with SMTP id ru6-20020a05620a684600b0077d70fee247mr24251250qkn.39.1701373544607; Thu, 30 Nov 2023 11:45:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701373544; cv=none; d=google.com; s=arc-20160816; b=NO3A5y2gJXEMruprH4XSqW0aQwdMAfSUYp7s1KxkzwXxYGFrQ2invnn7j13pZXXMYN DmgHwfvamRHnNLQptrUpEYapabJ2HRSb1wd5Caw5MrEO9Ek8nTDDaJEFENo2v+VQ15J5 1dBZ+/nxd1SzPJkP7qtUypq0mTVqD9gAgh/8cmsEl2hV49ybKLjYloCFCIMWZ6HsNLwD eh9+aX1s6DHyqctXFxIvOyZ2FzOBkkwKyi8BWf1d7gzd8uDJ9XjwfO6AkVDJkdGE1WnL RS2HrMqK4gQRScnLzza23g0743YXWc0zUnT+1FPHdlg9RVguEdWpU5T7w92vprEqezf2 vClw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=fnIKj6DdbI4bTY3xJz5x3RPxXNKgFPlPhEeVIQAg4iw=; fh=+WsPbjGmlZcywyfw41tRNPVClXGp706BYOvwTNHRp1M=; b=NTqUUBU9ug4V7oQ/p4W2eocvOqGzfzaBM3nr4CeldziTzVyQZ/fgm351K/R3Zl3fjd 2PmLcm2IGVKZtjc82CJa7iXU0awqVz6QBb/G1V49lvg212rzu2rJS91NAkxENpzIJEQ/ 5SQy2kG4rcu+AaUjBlP81nt21Blc4vdZffzwfJdvDKq/gw05fNs8tdOW9UE/HOoAZnjr 3ghd1ZWTEwzDBIsy9qvRTiVfK4A1oonopQN+91tU0//iBA943SuVfd4vrvcvZGigo/lG B9KNf/vrYj2Kjnr1Lgveq73wj28syYlKmZgHsj4oAkM08Dbh02QW1ltcVW4nY/APIuen kWXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pgJOjUM4; spf=pass (google.com: domain of linux-wireless+bounces-259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c11-20020a05620a200b00b0077d79a9ce11si1565688qka.552.2023.11.30.11.45.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 11:45:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pgJOjUM4; spf=pass (google.com: domain of linux-wireless+bounces-259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 31AA61C20BB2 for ; Thu, 30 Nov 2023 19:45:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BDF952F7A; Thu, 30 Nov 2023 19:45:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pgJOjUM4" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 10E365FEE6 for ; Thu, 30 Nov 2023 19:45:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5ED3C433C9; Thu, 30 Nov 2023 19:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701373540; bh=wA2AVl+xYF8fVQzeDAmm/6B0vmPFtUT1UDlpym9BOFE=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=pgJOjUM4Zg3/xntGja8rDOYaNnFNN/Qz5PvTcWizxeQ6hbbEB+3VJqAB5g5lJpm3Q pqWEQPus/58cK9lsKvcg0LAaT8lxBmUdHgY8PI12VowrWsvM5zfLF+yLLSbDanY9eU f0Ind5qDqjrfW3CGVHpYttMxifVFjgfSduTEsOj2vmQHMp7SuPVbOvvRkVrB3HTHJm cKD7A6VOQsfGPtRARrkOtQ0lIpH6jdcMAN0RbM4UVRMyjDMMwWYgC5TSlKjHltKlEs 2VgBFwjZiJY6NmskTcJNo7gAD3DbNsXipS91UOtXHDyR7MXY17zp7UoIanl+eT4sZQ CnZVS/jc6V/TQ== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/4] wifi: rtw89: debug: add to check if debug mask is enabled From: Kalle Valo In-Reply-To: <20231122060458.30878-2-pkshih@realtek.com> References: <20231122060458.30878-2-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170137353802.1963309.13088855840330928652.kvalo@kernel.org> Date: Thu, 30 Nov 2023 19:45:39 +0000 (UTC) Ping-Ke Shih wrote: > The coming dynamic mechanism of EDCCA adjustment will add a function to > dump registers to reflect status. However, if we are not debugging > the mechanism, we don't print anything, so avoid reading registers by > checking debug mask to reduce IO. > > Signed-off-by: Ping-Ke Shih 4 patches applied to wireless-next.git, thanks. 77abbabaafe5 wifi: rtw89: debug: add to check if debug mask is enabled 0bb185257de6 wifi: rtw89: phy: dynamically adjust EDCCA threshold d371c3aa35fd wifi: rtw89: debug: add debugfs entry to disable dynamic mechanism 9f4dee32b783 wifi: rtw89: debug: remove wrapper of rtw89_debug() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231122060458.30878-2-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches