From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-vs1-xe41.google.com ([2607:f8b0:4864:20::e41]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmQSk-0005sS-Ej for ath10k@lists.infradead.org; Tue, 08 Dec 2020 00:02:39 +0000 Received: by mail-vs1-xe41.google.com with SMTP id x26so8632951vsq.1 for ; Mon, 07 Dec 2020 16:02:36 -0800 (PST) Received: from mail-ua1-f54.google.com (mail-ua1-f54.google.com. [209.85.222.54]) by smtp.gmail.com with ESMTPSA id 62sm861405uah.8.2020.12.07.16.02.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Dec 2020 16:02:34 -0800 (PST) Received: by mail-ua1-f54.google.com with SMTP id t15so5082333ual.6 for ; Mon, 07 Dec 2020 16:02:34 -0800 (PST) MIME-Version: 1.0 References: <20201207231824.v3.1.Ia6b95087ca566f77423f3802a78b946f7b593ff5@changeid> In-Reply-To: <20201207231824.v3.1.Ia6b95087ca566f77423f3802a78b946f7b593ff5@changeid> From: Doug Anderson Date: Mon, 7 Dec 2020 16:02:20 -0800 Message-ID: Subject: Re: [PATCH v3] ath10k: add option for chip-id based BDF selection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Abhishek Kumar Cc: netdev , Brian Norris , linux-wireless , LKML , ath10k , Rakesh Pillai , Jakub Kicinski , "David S. Miller" , Kalle Valo Hi, On Mon, Dec 7, 2020 at 3:23 PM Abhishek Kumar wrote: > > In some devices difference in chip-id should be enough to pick > the right BDF. Add another support for chip-id based BDF selection. > With this new option, ath10k supports 2 fallback options. > > The board name with chip-id as option looks as follows > board name 'bus=snoc,qmi-board-id=ff,qmi-chip-id=320' > > Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2-00696-QCAHLSWMTPL-1 > Tested-on: QCA6174 HW3.2 WLAN.RM.4.4.1-00157-QCARMSWPZ-1 > Signed-off-by: Abhishek Kumar > --- > > Changes in v3: > - Resurreted Patch V1 because as per discussion we do need two > fallback board names and refactored ath10k_core_create_board_name. > > drivers/net/wireless/ath/ath10k/core.c | 41 +++++++++++++++++++------- > 1 file changed, 30 insertions(+), 11 deletions(-) Reviewed-by: Douglas Anderson _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k