Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp942189lqs; Wed, 6 Mar 2024 01:11:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUVn4WQ2Jfji2Ro9K+bYIkgVA+veSH92t50ufrZkhQywtuPw5O6jQmY/Fwv+lMqdKyyePUtKL3FcPfTvME4JhqnXtzSZCqxJ1NKaZvOsg== X-Google-Smtp-Source: AGHT+IFsWs0jkqrbyfkB13I2RZssRghbANIyCdzCTYOOrgeLFdOnRq1CDSa+NRPKOFOUwldRicBh X-Received: by 2002:a17:906:394c:b0:a44:e3d:68a8 with SMTP id g12-20020a170906394c00b00a440e3d68a8mr10501465eje.45.1709716275325; Wed, 06 Mar 2024 01:11:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709716275; cv=pass; d=google.com; s=arc-20160816; b=FUD7+Xg3XDyVPz0StRps91zoOuZ5Se81d1VGnpNFvyu2lRSCeL072cFM1uwkb8kklZ Q2F7t+sU9jUI3pQC/7PI0XfftbAyY/qKv8BJGGUGErpXx08glS4KmLZ8b0Z7jXIHHRP0 XX7Fb6/aa8L8nV90fIeSopgfHxMtXsM3iXoQpehnBdFttBDO+Rug3BNAKolNMC7ecgJz AmP0Wia3ecNuc9cwT2Afl0wLSCKkuVMXQQNCxL/WAiCTAQEFl7I2gcjORvVbgIpugqRt weRIrbiBsokntqFscsdE7Z6Sd7r5E5oTAV3ICf4NgT0AdjxCiUPjQR9YjA6bhhjEiMDp AC7A== 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=WcNDbMiDRaFRZjIoKWGwCgVzRzsBJPXDZkV/USE+tmQ=; fh=1KKzXg9clipCh11Tgsyo3LTljxxN/Djw9URTyw7/Spc=; b=fe8OuUaJX2eEwpGDTJr49DnKSLkLj3NmqGRruwg0+GanfjAfjUK8SYYMae820FnJoo rh2l945VteFTGG19UjcqJ7vHqJErNk4p7GOvPxdeZoH8sAUc/eXMJZT4Oe0pJnByl9ig U05Dwg4W4Yr+cCHFoVpEynhlKjyORD5hE5qO6irgVCauu1WLmkFPFz5LXGP+q3wKGrKO oT/Ro+VSczFwMGp6LrkSxTmxmhP2Rb4/yS1X3yEARzOtETRGVraSGJ/QUPiLJycd538A l1JYbXWsBnNjLj8l2eFvUeTYIYvc527s2bQtdGJV/6BAqST+aaTg5JNC0bcDKiOatDKH RSCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VqRh2GP2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4421-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4421-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 e27-20020a170906081b00b00a448dacfa8bsi5026336ejd.58.2024.03.06.01.11.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 01:11:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4421-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=VqRh2GP2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4421-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4421-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 1406D1F2483C for ; Wed, 6 Mar 2024 09:11:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BF855FDB3; Wed, 6 Mar 2024 09:02:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VqRh2GP2" 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 3B9FB5DF14; Wed, 6 Mar 2024 09:02:23 +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=1709715744; cv=none; b=Eg3Q4Fa7WFHyZN1cbaXldi2+v0yEg4DmVObcPdskdY+uAoXsnuil0e1du5RTTNPbESALWfRXDipbLpEjP5pH/mH8ThoOw9s8x50iwTda0wux+sCIO9cDE49vaUzm+TaeHpxz08dooFzHk4CGDAKDTDS7gpHqwpEA6MjfzruhqpE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709715744; c=relaxed/simple; bh=pr7f95H/+sMoxZtOtUu1wtvZwxTvJ5iV+D3khX3JPOo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=TBABJtOrvm9wZwtLz573k8iF6UOPzzivhZbu+EEY1StOuUaCBui3TE5B6DqPVDmfnMuDCjNQ7M+poV/6njNBuoPw6a+tgdhPLtEfUYZyoL7FP5WGGVIOnphBx0cmVkVffy4zTZYkLLV+dHRs+beU0AxRoH7fqhDWNIFSqReusS4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VqRh2GP2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56649C43390; Wed, 6 Mar 2024 09:02:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709715743; bh=pr7f95H/+sMoxZtOtUu1wtvZwxTvJ5iV+D3khX3JPOo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=VqRh2GP2Zlsd0Xikqogu0ime1ENHl2Scd6+UzEEnqS5uA15yPn+RZz8rK4wrYJp72 t3JSYr4q6nGhf3IGKJGB13HrvzUZ94qBRHHHFIrbwFPanUE6WWH5NiEoGyFLAfgv7d Gm1cGJw7eCsGEfkH8jQx6PwAYoXFZSRX1sSIVRP/S/8AMjJLcdvQYZKjeGr9XVrlfQ QAGFqchvVZ7vLvGvDxDaAEGPrs4MvZOJJvdTv0PuTWtKLHVnjTPgEZx3wXVvxUFmkA DoKuJmJx1E8+rpYbeqY7Ct5joqoYXYRZ1Dc+LbEHNi2l2CeLcyZ6iQ493j3b7yPqZP eDGIQCRk5P8og== 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 Subject: Re: [PATCH RFC v2 2/4] wifi: ath10k: support board-specific firmware overrides References: <20240306-wcn3990-firmware-path-v2-0-f89e98e71a57@linaro.org> <20240306-wcn3990-firmware-path-v2-2-f89e98e71a57@linaro.org> Date: Wed, 06 Mar 2024 11:02:18 +0200 In-Reply-To: <20240306-wcn3990-firmware-path-v2-2-f89e98e71a57@linaro.org> (Dmitry Baryshkov's message of "Wed, 06 Mar 2024 10:16:46 +0200") Message-ID: <87ttljhgx1.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: > Different Qualcomm platforms using WCN3990 WiFI chip use SoC-specific > firmware versions 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: > > - ath10k/WCN3990/hw1.0/wlanmdsp.mbn, > ath10k/WCN3990/hw1.0/firmware-5.bin: main firmware files, used by default > > - ath10k/WCN3990/hw1.0/qcm2290/wlanmdsp.mbn, > ath10k/WCN3990/hw1.0/qcm2290/firmware-5.bin: SoC specific firmware > with different signature and feature bits Thanks, this looks good now. > Note, while board files lookup uses the same function and thus it is > possible to provide board-specific board-2.bin files, this is not > required in 99% of cases as board-2.bin already contains a way to > provide board-specific data with finer granularity than DT overrides. After thinking more about this I agree, we want to have just one board-2.bin file for WCN3990 as it makes easier to share board files across all variants. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches