Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp942878lqs; Wed, 6 Mar 2024 01:13:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXKbH4woHIWYPSs1K73+WxtAAvpyjyHMJjhH7oG8SxtE8uVVaORSEP52XUcaISKJei1N47gWEs6iUYtXN1RSaxkLG5gUPTZ3FTDZOxe+Q== X-Google-Smtp-Source: AGHT+IFz6jiYn74TSmn7MiNytzdeEzRPECzm0V9fcJy2Pbj8FoVKIx22N99j1Ba5EkpR32PhEHBF X-Received: by 2002:a50:85c6:0:b0:565:9fff:6046 with SMTP id q6-20020a5085c6000000b005659fff6046mr11268200edh.3.1709716384972; Wed, 06 Mar 2024 01:13:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709716384; cv=pass; d=google.com; s=arc-20160816; b=oMxGN8sr1prXUEEF7AXRhj4knhWDXPjsB5BYsWJsQiGUeoPHmIDGxu9RcoidBFo8dy nYUpG2PUg7CcWX8PMPfpttxwo7qGVpm3KRD3pp7Avvx262Q7n3Ubau6p8SFDkprBOWVL 4tV+JPLlgH5tpzRaKiw+KrXRpSS/MBJSzLGHltpshK4A9M2oRszhKh4iCa9Bn6ND/WZo PD9KPxo3eXDxVTL45uS+hs9clUuJkR4dXJNyUnuIkCFBOHLSNToDHuqmwxflBrrJrMlK S60zI6kmfqbZ/jQuJaSUghqlzE+deXIXDZbJmISPABRyOYme/A2/m6uQHL2tV0B/4mxQ OTKg== 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=VP4WQu0On1VZDEXhanMmGvZTr1q+uufLBm9r8ASe2dc=; fh=c64NljolSJXxy0ZajBktTJGN7MCMnsg5xYQI0v0fF2c=; b=ZMChfloWEPSqVmh6aylYQNsVH4/3wsCSVzx1SBju04kH9+mpUhrdRThAVF4cAJkWAV Nyu4HblC2xRBqSPwPg7uLkrVVxXHgO4FxH1BxHcT/zgyc78cANvJ7hXP4IWxQxCgNnCX rTUP/jlQCJT2ZCoZNO8zyJgo0xjuZ9lQawAjJroS1u2SbLRCCA2Al4nmw8LxURwc8oaW dPy1AT6mUNdz+TBw3RTG/vCPHJdD2FkffgSrc84H7Np3BcokVH47/q0y2uSJkvZ1amTf zsbpV4ilincLd91mJMEibsNQLYeyd9Nz2UKhuAWL9T+8cK/IhOSJiuxuxDSwWuw+LuWW gxLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dOQzvOQJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4422-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c9-20020a50d649000000b00565ad309153si5953964edj.197.2024.03.06.01.13.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 01:13:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4422-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dOQzvOQJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4422-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4422-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A76521F21985 for ; Wed, 6 Mar 2024 09:13:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFF1060BAE; Wed, 6 Mar 2024 09:04:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dOQzvOQJ" 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 8D16460889; Wed, 6 Mar 2024 09:04:45 +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=1709715885; cv=none; b=ib04ZYq1Ma+89kAlFGgcxbL5YwgAQ2lS3nmMdCoaGJ/MPLnMTLSnl1Is1j52Kua48hlO+Fj1mP68tNRuSxC+bMFaG4nptLVSM6pUc2p/fdKhZseyCVVUHwsBXBis5JH4ApPHOlUM7eebYShxE7E4eb76Zg098dMCGkGwmBDPb8Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709715885; c=relaxed/simple; bh=lT33D1r8s/bp6Ix6+DW7nrWJQkFQLEVIK0tbhV5W6to=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=TUA4gTwtWE6kzetau+E0KswV7Zs2LQKbGPLVdJLl7LvOMItqrFRCdvoKLqlsrruHmwT/OdLDugxRA19LShVuTcIC5XwOJldRNbh6D7J72uccvGHxp7sXbmTmLdlyLRAAl21twdTlJeQiqhh4d9l7d8R3WVKpaNYUIDUZyZRGUCc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dOQzvOQJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8B44C433F1; Wed, 6 Mar 2024 09:04:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709715885; bh=lT33D1r8s/bp6Ix6+DW7nrWJQkFQLEVIK0tbhV5W6to=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dOQzvOQJcuEDCF6tN2LV7H9G3ueiQJusbfWn68WYM5n1djQNg52Y/R/+N7keo8rWr dIrTZo8a3+NEaCpaeNwpsJhC3WmWcFc/HR7XtOEKC4B7M+CoyTfjhgpZSNuOVRpexz DWDMI8Dw2lXV3u/RnIm29NibdLsQ1Ym8nodHA4gLGW7DFDtGjJV2zGGftagY/d+PNN h5jxqBWVgq9XUVUJ6DfjIVVeFcImFBRQ5+Xuzi2yCddr+LG84wgiAbszA8eFF9xdKP xNxCE8LXSt/+DGDMXlT0MCcfLGs8ZrQx5/RiLOL5spnBj/5DHxUQzzf3qucbYcM/UE GVMRl6szltttg== 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> Date: Wed, 06 Mar 2024 11:04:39 +0200 In-Reply-To: <20240306-wcn3990-firmware-path-v2-0-f89e98e71a57@linaro.org> (Dmitry Baryshkov's message of "Wed, 06 Mar 2024 10:16:44 +0200") Message-ID: <87plw7hgt4.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: > On WCN3990 platforms actual firmware, wlanmdsp.mbn, is sideloaded to the > modem DSP via the TQFTPserv. These MBN files are signed by the device > vendor, can only be used with the particular SoC or device. > > Unfortunately different firmware versions come with different features. > For example firmware for SDM845 doesn't use single-chan-info-per-channel > feature, while firmware for QRB2210 / QRB4210 requires that feature. > > Allow board DT files to override the subdir of the fw dir used to lookup > the firmware-N.bin file decribing corresponding WiFi firmware. > For example, adding firmware-name = "qrb4210" property will make the > driver look for the firmware-N.bin first in ath10k/WCN3990/hw1.0/qrb4210 > directory and then fallback to the default ath10k/WCN3990/hw1.0 dir. > > Signed-off-by: Dmitry Baryshkov > --- > Changes in v2: > - Fixed the comment about the default board name being NULL (Kalle) > - Expanded commit message to provide examples for firmware paths (Kalle) > - Added a note regarding board-2.bin to the commit message (Kalle) > - Link to v1: https://lore.kernel.org/r/20240130-wcn3990-firmware-path-v1-0-826b93202964@linaro.org From my point of view this looks good now but let's see what others say. Is there a specific reason why you marked this as RFC still? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches