Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp624016lqc; Fri, 8 Mar 2024 07:19:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWNJbyJRVy99ffkJlMOWNBrhRvSQrZm90LJmnbmnxo9kSMWUKJSdcISxeLoWuEE/K8NghVw3r/DxcrBLDpSHCMVVi2VZqa4dW6nJdkdyg== X-Google-Smtp-Source: AGHT+IHbtiWhYGSHIOd+IDNm1n7ajFHqUwbCU7AzYKe7BAFKZdKt9yEp9pAxt8mo0oGw30wZXuCE X-Received: by 2002:a05:6a00:84f:b0:6e6:5012:8b38 with SMTP id q15-20020a056a00084f00b006e650128b38mr8759350pfk.25.1709911158014; Fri, 08 Mar 2024 07:19:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709911158; cv=pass; d=google.com; s=arc-20160816; b=y6egniWh1XXOl3xmNStd99rT3kAFScoQKMSzu5+QeW36b9vVVQdBk1Kyf5pClz7abC qkQ1rUf00ulCawfwSj7PMK0wLI+z/v9V3igLOlVFENngCoUtqtU0S/Syzf87uFTpBPPX Sgqdr3qK9Bc3DxlP6NRUzjmdMYD6Qq+YoPv3vbbn/uxF+XjFKRMkTwfq5NvPQiZ+o0IJ udmUtjg5tNJJfSDqlgSlrgRb/tb8XERa92MVIIxtwOrBWjB81pvzC7P6Uq1HGxuLE8ME zvHjPrpp0MOIAWMiGALuIG3cM+I9qUlRJ/mCoBO7Mn90RmPuetAkaB2XiGfpVwyZAgm6 bKPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=1JG7lawVO31Gwqx/ULSezAn2GCILIMLcMVh8ddUVruo=; fh=c64NljolSJXxy0ZajBktTJGN7MCMnsg5xYQI0v0fF2c=; b=D3kZnRuGDn91I2dQ8LxtiqmOJlwEQ52CtYtNT4vSf4zC+1rKbkMJ71lnf8jrbtGDbV oBp/VfWPzUzxwk4loyDcl2VaJZeXbp/8QMFDtlBItXE6S3rJTfbSjvF0d0K8DHyXM7X3 ePXJ39F9LAf+m6tQqtEBZ5UTc8Zdf4hmJLyfdKpWGQ8jJsgNLMAw+Lb2Mg841yVhu2xx n4jGPUWVVTlTCOqKpw09vEzbC3GTMmcjNjinNgWBy4c2ZzYwEQq1Q0IZra3hwJrmc5yn V0/ac4NJ1XbkAEhaDCR2IUAX/FbzcIo7QLNLz8kjcaelw9sp8WwRGmlHWiSjqJAd6sFJ ynow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e1a/ZMv9"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l15-20020a056a00140f00b006e5787d1b4csi16367241pfu.128.2024.03.08.07.19.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 07:19:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e1a/ZMv9"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4495-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 302B0B210CE for ; Fri, 8 Mar 2024 15:19:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 17F7C1DDEC; Fri, 8 Mar 2024 15:19:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e1a/ZMv9" 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 D9A8E4400; Fri, 8 Mar 2024 15:19:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911151; cv=none; b=QoM5EcXd5+204dKuoiNdFp5S6SdtNEKSKEVc1ol0Ui75SJ0IXirUqzDdeMHSs2zyockH/S+eqcWAfEZwGuWYRb7b7GK69dgreFQ69zSDhzfUQvSo0HaAKti3I4dWUU1NOvF6E49GRE0vdI3f1S8T7rXil0jSruRS+7i3TDv7LWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911151; c=relaxed/simple; bh=2aEWrJvvukoPuyYJLD9Zn0ge1MPAdinGfbWVtaTvHp4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=GlDAJt6AW+/jNWisHYnwiOJ21qpi/H5MvbAllD1mw2tIRQnvT+ZFKOyWX9BcXT7yb0ECgGDTx9RWHfKRZLeLjtMAUu8/GQxUG/IjF4eygkOcgzTLl3yieMKtGS4ec/v9masDrw3j/LfUqKGw1NfrW0QkonhH6DFi2kya+CDrAkQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e1a/ZMv9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1DDDC433C7; Fri, 8 Mar 2024 15:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709911150; bh=2aEWrJvvukoPuyYJLD9Zn0ge1MPAdinGfbWVtaTvHp4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=e1a/ZMv9W69wCrDHRgkvlZIa4zoUJ8J8Q3ymIbKisGFKt85jmdi8rfigpLWuxyFVV 0NMyFXtGSPpANaWp4n+9q7gax4lJv6/l/ymG2gcd8wjKVcn2OYjQ1nlW0pHBvhwvlu 1WSi0bGr3izdfGytW1OtnQXfBWA/rRrzf3KgYRsKCyT9k2R1DLweSj4xcahwGjiTPS LCNlE5MKl+CpM8Enh+hZWwiAnV0G67ryNjl5C8rOiWaT6dXdIidkWXKtNY5hduirgp y/3xoHrWixGF2LDAur5awj7cBiaNBTUXF9V3bqbfjuerY2BtKIJku2z3U6hBDIDv92 lL4q8dkNZ2MbA== From: Kalle Valo To: Dmitry Baryshkov Cc: Jeff Johnson , "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 Subject: Re: [PATCH RFC v2 0/4] wifi: ath10k: support board-specific firmware overrides References: <20240306-wcn3990-firmware-path-v2-0-f89e98e71a57@linaro.org> <87plw7hgt4.fsf@kernel.org> <87cys7hard.fsf@kernel.org> Date: Fri, 08 Mar 2024 17:19:05 +0200 In-Reply-To: (Dmitry Baryshkov's message of "Wed, 6 Mar 2024 16:23:55 +0200") Message-ID: <87v85wg39y.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Dmitry Baryshkov writes: >> To be on the safe side using 'qcom-rb1' makes sense but on the other >> hand that means we need to update linux-firmware (basically add a new >> symlink) everytime a new product is added. But are there going to be >> that many new ath10k based products? >> >> Using 'qcm2290' is easier because for a new product then there only >> needs to be a change in DTS and no need to change anything >> linux-firmware. But here the risk is that if there's actually two >> different ath10k firmware branches for 'qcm2290'. If that ever happens >> (I hope not) I guess we could solve that by adding new 'qcm2290-foo' >> directory? >> >> But I don't really know, thoughts? > > After some thought, I'd suggest to follow approach taken by the rest > of qcom firmware: Can you provide pointers to those cases? > 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. Honestly that looks quite compilicated compared to having just one sub-directory. How will ath10k find the directory names (or I vendor and model names) like 'Google' or 'blueline' in this example? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches