Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2592623pxu; Mon, 7 Dec 2020 10:17:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnjdVl1+blon27wyky/f8JrtpwhaFKBbFoPN8syKtePxF35P6z92f/JH11xuyY0ynBeN5M X-Received: by 2002:a17:906:4016:: with SMTP id v22mr20462330ejj.266.1607365035650; Mon, 07 Dec 2020 10:17:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607365035; cv=none; d=google.com; s=arc-20160816; b=RgdzyuZd0LRUEaARgiMgJKuMqPHRxcqXRjZxma8efAP5RHRE3iyUvPRnfpS+BLTBIe awCef6C+Bf12yhRO57nWYTRFMBfJ1FD9hqKSjLDYdxbmcbFe1+rIZj9JGgw+px5uwNcL OsYOgCoP3XZZuIqb16vHrcXSOZgb3rPca/H6IR8z91vaakEwSWAPtsmVe31pdLVN7ct6 sDfh7VHd3kcYcXWZG4UNa0QNIICQbHn9H3aOhSLe5Gi553+WtOCrlpeEfWullJZ/FCbX 6mtGTnw+O/+koRfcilCv8ZZESwr4lsAzfUvDtI2xcadTNYQ3/xMWuh/BFftPzBS1O1Xj mRow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hHq/xb/pv02EeD0pGYHlEothdFGwrB90EzBmPugYcJk=; b=aiaiFM6ZJ5BUeH2WX7xYGO6GNJ0gkaezhWDT2D0+ZAmhwJ6IFeCGnKPZeGEgcWtdEi tNV3+X7Xw/a0lz1XRCRl8yj+aB+itlbz46zPE/HO3jJVuXqZ/EFvNR5pky0UaKq3XfFi 92vU+F50eg5kNiy+8Ytr7QPIoeAunEiOcWOZXeMuQc+OpG8n7fEzYSPnkVSj68To3Uyz Ojf00F76m4vKp2KjzgJSEFWJIghzcHb28bxinvJJYa0609YIywSHuwbs5SD3IBvCjh4X 3lv4szhMvRWa4MnrBemJoKK3K9IYC8P3ByBP8Lq8TeUQ0f8diRJWt2/fuMo3A1jN3pKe 0KGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UJk5hX3f; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zn8si6437084ejb.24.2020.12.07.10.16.44; Mon, 07 Dec 2020 10:17:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UJk5hX3f; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726080AbgLGSPn (ORCPT + 99 others); Mon, 7 Dec 2020 13:15:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbgLGSPn (ORCPT ); Mon, 7 Dec 2020 13:15:43 -0500 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DE08C061793 for ; Mon, 7 Dec 2020 10:15:03 -0800 (PST) Received: by mail-il1-x144.google.com with SMTP id k8so13069977ilr.4 for ; Mon, 07 Dec 2020 10:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hHq/xb/pv02EeD0pGYHlEothdFGwrB90EzBmPugYcJk=; b=UJk5hX3f/G45RB0dkq6NiZ9xtAqfaiiCloepRguEu/toNsMFu9fzC2vlYRnhXYDgrY 9kNzZVKSt6cdZbZqbosNM8PlPhPLhlrsgMBWynGHmRUbinruP9SnWdjX1cWyvZKDNXge 4ndH0FDCK69tg5mKFiYTL5iPbHTMiTkRBq9yo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hHq/xb/pv02EeD0pGYHlEothdFGwrB90EzBmPugYcJk=; b=HdjumBFFHFVKmaI9twaywbLD03+LIWo8MhzVrH34fi7egV7sdUJtYzOZNLvmfL/lNP rGAvajn0JWRHyc+0VYEpV1Wpx4XD/Wt8sqJvrsCE4yRMaE9EXEW8QlKsKvlPFPYma/ez p6pKp5kQGON1VFyGoi4WD+XjWdAlUChs1fnH5P8wDVy7pxHVhwniVBy6CgyUWwRcB3/4 3SIjRflJQW1P8eKILhVXovZ7Xe5MH0MM1ZoMM6HM2H+Oc8AuvvvLuc50U7gKB/PuWlRK tcZ/SO2DjNgb5G+zPaU3NNhuamhAe7NVJo9MnokhL1O91ll0DIiU5KxU4N7QdsYNtC+U Hvpg== X-Gm-Message-State: AOAM5315dVuTIMGH0aM7vD/wnHlj4S/em3GZsm89JnNSiiUiZof9Hv5Q xhCz3iIDqXz2uwaoXcZufqFdKSsch+Z6uaJ1ln24nA== X-Received: by 2002:a05:6e02:a:: with SMTP id h10mr6300702ilr.235.1607364902407; Mon, 07 Dec 2020 10:15:02 -0800 (PST) MIME-Version: 1.0 References: <20201112200906.991086-1-kuabhs@chromium.org> <20201112200856.v2.1.Ia526132a366886e3b5cf72433d0d58bb7bb1be0f@changeid> <002401d6c242$d78f2140$86ad63c0$@codeaurora.org> <002d01d6c2dd$4386d880$ca948980$@codeaurora.org> <004301d6c968$12ef1b10$38cd5130$@codeaurora.org> In-Reply-To: From: Abhishek Kumar Date: Mon, 7 Dec 2020 10:14:51 -0800 Message-ID: Subject: Re: [PATCH v2 1/1] ath10k: add option for chip-id based BDF selection To: Doug Anderson Cc: Rakesh Pillai , Kalle Valo , LKML , ath10k , Brian Norris , linux-wireless , "David S. Miller" , Jakub Kicinski , netdev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, > > (no changes since v1) > > I think you need to work on the method you're using to generate your > patches. There are most definitely changes since v1. You described > them in your cover letter (which you don't really need for a singleton > patch) instead of here. I agree, this was not intentional, I will fix this in the upcoming patches. On Thu, Dec 3, 2020 at 7:34 AM Doug Anderson wrote: > > Hi, > > On Thu, Dec 3, 2020 at 3:33 AM Rakesh Pillai wrote: > > > > > What I'm trying to say is this. Imagine that: > > > > > > a) the device tree has the "variant" property. > > > > > > b) the BRD file has two entries, one for "board-id" (1) and one for > > > "board-id + chip-id" (2). It doesn't have one for "board-id + chip-id > > > + variant" (3). > > > > > > With your suggestion we'll see the "variant" property in the device > > > tree. That means we'll search for (1) and (3). (3) isn't there, so > > > we'll pick (1). ...but we really should have picked (2), right? > > > > Do we expect board-2.bin to not be populated with the bdf with variant field (if its necessary ?) > > The whole fact that there is a fallback to begin with implies that > there can be a mismatch between the board-2.bin and the device tree > file. Once we accept that there can be a mismatch, it seems good to > try all 3 fallbacks in order. > > > Seems fine for me, if we have 2 fallback names if that is needed. > OK, sounds good. So hopefully Abhishek can post a v3 based on what's > in and you can confirm you're good with > it there? I agree, with this patch there can be mismatch between what's provided in the Board file and what required board name we are generating, so three calls are needed. So in a sense, we want to keep the V1 patch with fix to reuse the same BDF. I am making V3 changes and will address and push that out. Thanks Abhishek