Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp410473lqi; Thu, 7 Mar 2024 00:23:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXVajtvwByZ3vcKcge6TZIvgmNOWztNmwLXW6Szw8nh5ICayaOkGHy9dlEbeWpq9Gn+HPYB5aZ92aXc3Af7n8XNo/tSYcnhko9CRT0tgQ== X-Google-Smtp-Source: AGHT+IG9uFhLo/kh/oNXNZfGeWY7LIDshFLzQCdiFBwZKesfkJ4FmHFwxe5Qfzy/xK+p9YetTABP X-Received: by 2002:a17:906:1c51:b0:a43:80e2:98dc with SMTP id l17-20020a1709061c5100b00a4380e298dcmr12188062ejg.32.1709799792129; Thu, 07 Mar 2024 00:23:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709799792; cv=pass; d=google.com; s=arc-20160816; b=JeSTUKWPvxMyG+BrKBMY3w96hah828YY+0g9E4nk3g7086fEQLpEmXaV0c6rybU1rA hj8AjRnWUNWzg6Y+yL0/gRqMhi3ubu7gF4szs7GAG0KJVWAp9wXg15aLioHQXpevb3EC TPukUhT4AbvwzjNoVWctQ4NMmQ9g2dItcJRw9F2a9bQnmrDxzkNUcLjAThC9kPlUH0iF gRN+MB9tUxWnpiCHl+jTzmU/PKRm9hl+IqlRQAGpWEjp9ICz+7FaYpBai876RCLQJM30 dw7DwwhZcWFseZ5wCL56PcW8dwe4l5U7FppHkewVjMRNBm73VHjvzgj6qfVDn94vzoxX gkuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=BTCDlQMgEr5UEnpV5mDn3dJxhyjjt0R5yPNztDHuRWA=; fh=ZmijDRhgN3Gfq802hDLsaQwYeSP3famgAmNrawhgp7s=; b=FBm4LBMzcMjihsN+jnKFnUsoAuoSnTYIuYh11nHmnipqb+coK1D0rGD4LKZTVz0Yfv WB7hwz4BNEGxjMbTS0Ulzcx0jalkOIW+Mv+lX2H0csRqsItWA3b5jE5FmWRTLnFmV0CX AgqrW8jIYu/6KupAheo3LRstK4Dx2Ccf+vG0TyJoQ/Oe+leIqCExD2vEoFpixRATii0l CGI2GlOZJO1c8Nk3QFAHik/Cq2uNZ+7Ls88Q2V/3I1QhqZYK88LuLkA4XDnNNXJ8hII7 eXjdjIYDM3+guQ+wUw0utJaomRgNTxeNP9y3ww8QkzjR9ruiK2AGgECb8fmrcTUZvmTn qg5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RgZVpI2a; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-wireless+bounces-4447-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4447-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kj2-20020a170907764200b00a43d970c30esi6669707ejc.112.2024.03.07.00.23.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 00:23:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4447-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RgZVpI2a; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-wireless+bounces-4447-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4447-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 CF0B41F21659 for ; Thu, 7 Mar 2024 08:23:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F6D4633F9; Thu, 7 Mar 2024 08:23:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RgZVpI2a" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62A755FDCC for ; Thu, 7 Mar 2024 08:23:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709799787; cv=none; b=ot1n2kMdDvjgO4m9RsbsLNAmLXPLP2vaknyWh8DtOco9xNJGyJdjYgzRFI6ktGzUoUajttOeeguCsRite5PZzTTHHfur7ULPAmKhHoYgw8HmSGrmOt7WDWqS56aVTDWpzHovHUN7n35eGH3CHWdBXm6BTE8QS0fRyq/nTl26qeI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709799787; c=relaxed/simple; bh=c7DU7j1T11TpDZaT0tyl9BIJh8qXovMj5Xh/pKI1SjM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=gu7AZJmQY8sf4xLIUzCcpF1S2Cu5b8aYTXy3Br1yv7zHJ882N3km4t9KBljXDFEeRhAixyvz/+J7SDeiU4NKzPFH+nPGigBlz3v9glO+Z+EFPfMvWZU5uKpw4pYqyrXIysikISXYDBGdGh5z8TA7qFFvRJlQL8ws6usdcFu/cFQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=RgZVpI2a; arc=none smtp.client-ip=209.85.128.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-6099703e530so5752317b3.3 for ; Thu, 07 Mar 2024 00:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709799784; x=1710404584; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BTCDlQMgEr5UEnpV5mDn3dJxhyjjt0R5yPNztDHuRWA=; b=RgZVpI2am6/GI15D1D4hI8zwL8t0VmcPmEejTBQpsiE8+uEUjS8UmS8kuf324X76Mw ONy+yYJHOCT6yYbCB9VHBPEKZoVkyEPibwDbzGPjV+bppR8YNjW2FQF0NgY7lHM5dcCP IkrF3m/OqYv0yNU+p8llY/cDUWDQejUluw+C6b31jrCDBfHOHDHQ9Ai5WFhPTW2kp7XH wo4Kq5Kh9GmQafI1OZ5cjx9bsz9DVcsvShpoZqSbrWwTSOxXAkUMe4KIjW+ZELr2p2Lz +NHrs+dbw/qAx6K6Q4KpMxU12nq+tY+uZ5KUGr+fePYo312vdlrStCOoSiAo7hlhZLaE vBTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709799784; x=1710404584; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BTCDlQMgEr5UEnpV5mDn3dJxhyjjt0R5yPNztDHuRWA=; b=eDYalUftq0DpEXHl0AkjEykPFTyaScmRWp9K6m9swsLs/M2wpGOLJ+SJh3wVr5dj/+ ZdJgVyVcyrKFs9ChkCe+DFNKtzJEe6JgzZlP6xBEYFGRhtugjaMGPxVM++tjS5D3txzJ an3AZSJkj8IGIteMXzwQB+bKytFkj20px1MxRYLMEkMBbpc/ysWQyxebbTy4x5eMZo3E zh6AVbj2UjkmfxnF3PiUy1Ehph/7Nc7r7hHtI3GA+10b4edTewNbCD+f9RjfmzbmrAL4 nSntZVgdbjvcoCvJLOJ2sftelDjZg2B9MDZCIQ7NwN+KF6vT1Zdt1ZWihLmvYEgQgTrm YIZg== X-Forwarded-Encrypted: i=1; AJvYcCX8rF4gPvyoJ6E2KY9b/+LWpHNTAXeFL/M2DYvYaz63SnwU8Lx9js0znEBozkkUKzEKf+44pNbKxfCWtxzMuWxkRjQCx+OyJjYp4KkJtFg= X-Gm-Message-State: AOJu0YzmVa+bz7jig/w3JrpXbXWjujBHcGDU4cuFKYVOPGuO0x9K1g9I 2/aAGTxtHFOhdDGbXCrmXfnZDOdVHomz5B/UcBWY+XK2x1PCskozpl46zTn0S9YIeezhusZJfvx hwjr+IcEdiH7o++WhgLz/d21koL0y7gL5MnVf1w== X-Received: by 2002:a0d:d882:0:b0:607:834f:b4c4 with SMTP id a124-20020a0dd882000000b00607834fb4c4mr1560071ywe.29.1709799784322; Thu, 07 Mar 2024 00:23:04 -0800 (PST) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240306-wcn3990-firmware-path-v2-0-f89e98e71a57@linaro.org> <87plw7hgt4.fsf@kernel.org> <87cys7hard.fsf@kernel.org> In-Reply-To: From: Dmitry Baryshkov Date: Thu, 7 Mar 2024 10:22:53 +0200 Message-ID: Subject: Re: [PATCH RFC v2 0/4] wifi: ath10k: support board-specific firmware overrides To: Jeff Johnson Cc: Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" On Thu, 7 Mar 2024 at 00:25, Jeff Johnson wrote: > > On 3/6/2024 6:23 AM, Dmitry Baryshkov wrote: > > After some thought, I'd suggest to follow approach taken by the rest > > of qcom firmware: > > put a default (accepted by non-secured hardware) firmware to SoC dir > > and then put a vendor-specific firmware into subdir. If any of such > > vendors appear, we might even implement structural fallback: first > > look into sdm845/Google/blueline, then in sdm845/Google, sdm845/ and > > finally just under hw1.0. > > are there existing examples in linux-firmware? Yes. QCM2290 / QRB4210 platforms have "updated" wlanmdsp.mbn file, which actually prompted us to work on these overrides. I have opened the MR against linux-firmware, marked as draft for now, until all discussions are finished: https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/165 > or is the whole point being only the default firmware is in > linux-firmware and vendors would follow this pattern if they add their > own firmware? Unfortunately not. -- With best wishes Dmitry