Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp576233pxu; Thu, 3 Dec 2020 07:35:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxO67j5oNc6DUp1QOmcNl82hYGeiU/X4S2+3b0Ioko/s6zJlU1Lnr0tDJ0OcZqnXQRm0FT2 X-Received: by 2002:a17:906:4994:: with SMTP id p20mr2998572eju.391.1607009758930; Thu, 03 Dec 2020 07:35:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607009758; cv=none; d=google.com; s=arc-20160816; b=tvw5LF6Am5CeKTp1VbzVDsNqAo67i76VEJVIqDkeGMQo4tpdmQ+VzylHuR4TRidfbC zfm/YKkVm0KpY5OfPqGjcrKYV+UpSr6uihpO+BA/Vk5WFDKKAgTnDpn95nkWAq7hTa6G OLm60rZBkFU0x2keT63m4v/+lG6hxmj8cwid/O8dH68FRlRPcWR9n3bXjAt+n/fBYOdz PcNWprJcroLsdjg52r2/0LbQT9Hf4yzFl6I5NCRzsQEQPQC3x6LzVdzIMgL1PpNwpHf1 hJEGpeyeJPMuWxSn25RZeKIunVIAU+IfZS/6TORK2gfD1zadJlbwd1Lp+tpKxJrATCGY lbgg== 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=h6bUmmhNs5Vo0iuri/gifDqZRZWxy1kGAo1J9lB1K5k=; b=pTrAw9550LW7kRrg3N8VlUBzZxll6YFSvYPYvvYeiN46EJeGwp86zsVsbGtJcfd0Xx umr7yVqWSC+1+tWnV+Lzz8rahIjHOiVSYum2aksymBaGHF0wEuj4YJbGk5/K3gcEpQ/2 BgK0oLUrZZpecwI0wLQzW/VRQNmLUnu3idYlTn58C3Mnvbb17dQumMz+PmWJgW9rFp+i KFs5v+V1ztSUmon5xtAfQEjikMDjN7IvqVfu9ZG0RgyZBmFVCW0jVoEFnLXI9REb8k0O hwyXVXa0MWl3qDNusAvT9yTf1fS15pvf5DoiFcxvMPMh+h9THkZ2xYXxHlWiQ3rjAFI1 q03Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="D0ie8/h3"; 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 h4si1185767edv.124.2020.12.03.07.35.26; Thu, 03 Dec 2020 07:35:58 -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="D0ie8/h3"; 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 S1730706AbgLCPey (ORCPT + 99 others); Thu, 3 Dec 2020 10:34:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726610AbgLCPey (ORCPT ); Thu, 3 Dec 2020 10:34:54 -0500 Received: from mail-vk1-xa44.google.com (mail-vk1-xa44.google.com [IPv6:2607:f8b0:4864:20::a44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FF99C061A4F for ; Thu, 3 Dec 2020 07:34:08 -0800 (PST) Received: by mail-vk1-xa44.google.com with SMTP id a129so488937vki.5 for ; Thu, 03 Dec 2020 07:34:08 -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=h6bUmmhNs5Vo0iuri/gifDqZRZWxy1kGAo1J9lB1K5k=; b=D0ie8/h3FBLr6GsJocONE1JbQgocKTLMtMzcvLZ4m0y7cnANQLWYb2PicTVkU3CHWU 0xhY3CUtX4DW0z+8e0aqlOnA0qQynUINmANChrlAvRpPTKilDW7S8pl1Ya7o5kR9BFVg gJdorF74HsyAZkpPn12nGzaqdkO24ic6ate64= 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=h6bUmmhNs5Vo0iuri/gifDqZRZWxy1kGAo1J9lB1K5k=; b=VtZcofZqKiAj3I3BKlbDqfqDaUwQIRI0L8fXkRISrYSgogHOMNv0mFCJqfW1YzT6nZ Z038H2W6vBjL3KdqSqJRvV+GwqXzsel+P8Ntxs8ViVVymzqnMYfQKq0I7/QFkMnQ63Pl w8VmWxABtBLwj3OCOomI88uzx0lRjlKHgXXWld/1bPYujQevQatdf6uBUZlzFmZfDzct NQAWjXnssLopJuWpbdUxuiefPmZcnINS3jPdvLzJ3PmC6fbjRGFAbvoahaLJUG5EzKl5 PCqeGjamBhjNYw6TApjt57rHKeZdVwp9+XltsYRMskreMYDJ9mNPOeNGwtFvwq1ygGiJ mmcw== X-Gm-Message-State: AOAM5331gDHUIhojLXyTDe4b2Hr+t1/ddMahpwyFp9l2vhUmZI9WLRgb Waml8MOiF3PAD/LDGWmCpE37Q9dST4iIng== X-Received: by 2002:a1f:2d90:: with SMTP id t138mr2249921vkt.23.1607009646859; Thu, 03 Dec 2020 07:34:06 -0800 (PST) Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com. [209.85.217.54]) by smtp.gmail.com with ESMTPSA id b66sm189024vke.8.2020.12.03.07.34.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2020 07:34:05 -0800 (PST) Received: by mail-vs1-f54.google.com with SMTP id x4so1450454vsp.7 for ; Thu, 03 Dec 2020 07:34:05 -0800 (PST) X-Received: by 2002:a67:8c41:: with SMTP id o62mr2741810vsd.49.1607009645158; Thu, 03 Dec 2020 07:34:05 -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: <004301d6c968$12ef1b10$38cd5130$@codeaurora.org> From: Doug Anderson Date: Thu, 3 Dec 2020 07:33:52 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/1] ath10k: add option for chip-id based BDF selection To: Rakesh Pillai Cc: Abhishek Kumar , 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, 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? -Doug