Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp349326rdb; Tue, 5 Dec 2023 07:11:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpd9m5UHP1hZTTqNvN3+aL3L8ziBtB9L3AvcGKl9yM6Ib6cqMbt7Ia1ConzpcphK+5qRZO X-Received: by 2002:a05:6402:30b6:b0:54c:e0a1:d66f with SMTP id df22-20020a05640230b600b0054ce0a1d66fmr1767825edb.40.1701789060793; Tue, 05 Dec 2023 07:11:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701789060; cv=none; d=google.com; s=arc-20160816; b=jIdAkk84WfcGREBdysBX4oFg+o4Fw08HEbrVqAS+GtanTwVMaWfJOZy9prXJF9xi2z ZzkCJdcn1pMwwRYP3DlF0tWF20JBUXV/DnhkF/jbhXBW67H338U3+jWb+mXFXPwvb50P SKSaLieEbuhGJoVEtMUnX4QbD2ozdvWLlumLE6x7hpHvk3dBsFiJnHTPaKxAUxkjw/ZH t+S6XfP8GO802nUy0m8Lx9bPwd2PehdxzWt68Qj3arCivjl/s+Ve920AfGHzsjClMXfJ Gf1fnbsE04FFtjtXeVGaMgzna+Pu3zrJnpi4gnCCFeO4Q1W/qC8+DLboPvO8Ql/3+kPu CAng== 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=a7m+r6FjDSUN3nO9IRr9psn29FT7ghBvJ/0lS6zAtmQ=; fh=029kuYAq1hc6mF1SMOQ2x0i7+BRmAYgL/pzlnEU+puQ=; b=TKcqqKm/SCnfYaRGeVVMZL9KtwCxeGUPtKhfFDX1oWLGgTNqoJ/l3FkFQG6CLNz8aq rEpWIQgHF3a6bx35Y1DonJN1b5iXMm/BmmjVXd7kpWOGiKc/Qu2RRy9CtABCXPVIN33g zSFzIP7WzfgY2w9MLnm99N5KUH2d2XZ4sNi70gCyH0ikv/NkGuPiJCC348HzFRWPcWhy BoerDf6XHi337w+Ui3ydWTfePdhNxgtnluRqetWJr6/2a4zcP9flR+WDJVzgnBuDNe56 /sZcVAUsxeFbSAC+5UlpIZ0nhetNRnECryLbUyvYTvh1T7M7KPQ8Wao4DvzUZCdFJxpz xT6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JBgvafm4; spf=pass (google.com: domain of linux-wireless+bounces-427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-427-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d8-20020a50f688000000b0054cfad11c5csi908094edn.14.2023.12.05.07.11.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 07:11:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JBgvafm4; spf=pass (google.com: domain of linux-wireless+bounces-427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-427-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8C71B1F21220 for ; Tue, 5 Dec 2023 15:11:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D87A67E8F; Tue, 5 Dec 2023 15:10:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JBgvafm4" 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 5E85C2A1C0 for ; Tue, 5 Dec 2023 15:10:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43BB1C433C8; Tue, 5 Dec 2023 15:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701789056; bh=UD1uFP5QSngCrjzcxllTOb3luCX1xPpvYA27sT27aEg=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=JBgvafm4xgGBbIS3PqP7Vw/PO+b3oLeNq+l2yYXnSXkbvrp969GW8TPXFlqadqahC ZC4zXN/KMRLyMlIcBD0M70822AgzcEV3VG42qVMXSzAS5mmPtOPBHu/qUtUObmMqmU 0bqc2vUbKx9eyLLbLhsHoB9jUVkXwrm+Ec6XeFyFpwVgY5v2poMv4Y/PrW35TR5AAX jekwj5Ct7IG93OzXj4tKSMzpaiLzRK1a6lnXj0kgz+tStkTWZ+attq/pcf42uGuDBy ws4Hg/sXm6njg+PMYDTbD2R5k1jMVwHiCCKizPetRW0jkBu9k3bcb4UaJnwycMnoFh zyJL8PvWdPcDw== 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] wifi: ath12k: avoid repeated wiphy access from hw From: Kalle Valo In-Reply-To: <20231201013735.2292313-1-quic_periyasa@quicinc.com> References: <20231201013735.2292313-1-quic_periyasa@quicinc.com> To: Karthikeyan Periyasamy Cc: , , Karthikeyan Periyasamy User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170178905353.2418939.13490196335421003398.kvalo@kernel.org> Date: Tue, 5 Dec 2023 15:10:55 +0000 (UTC) Karthikeyan Periyasamy wrote: > Currently repeated access of wiphy data from mac80211 hw structure is > happen inside the mac80211 registration helper functions. So optimize > these helper functions by storing wiphy data locally and accessing it > directly. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. c8a5f34ad811 wifi: ath12k: avoid repeated wiphy access from hw -- https://patchwork.kernel.org/project/linux-wireless/patch/20231201013735.2292313-1-quic_periyasa@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches