Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1396404rdb; Mon, 19 Feb 2024 14:24:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUwwmrIUkHVlJllXaIn3CkA9BEBMuZaGqBg/NCpY/1fGhPVnFidMs+spc6qJclGdWVo4d+7H1laIlMYl3Stm6kwZ9gaBEKAZ2NSNU2/jQ== X-Google-Smtp-Source: AGHT+IHPfnXx3gcllvPdV4Q8d6VMmEehbPAYJ51y/GfjF0gx8WoKJiFAKLuC/N/FjG5S4eLtitYu X-Received: by 2002:a05:6a00:2e1a:b0:6e1:3cdb:76f1 with SMTP id fc26-20020a056a002e1a00b006e13cdb76f1mr10727949pfb.20.1708381464789; Mon, 19 Feb 2024 14:24:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708381464; cv=pass; d=google.com; s=arc-20160816; b=bfn3QIPJvOuXhTVHAibog0nnOvNjW+WFSryFnbAH+oYG3S6q/2iwAqNgQ8oL1Dz3/c h0+J7XMfxfewVT9cBtiifFGroVaXxEhISFm7h1aKOfcUznX2vWU9WL7Zr6fxCZCORwAZ HgsRVCiQE+2rxd+5Troq+Y9zGmtasKo46jyCywOcJkP+WTINyvVULLJQzeUT07kFWZhS w5dSYo+spLPXs82V04soZ882Eel1Uay/eBiJlBvth/mz9wOunqysLxAzn9yEUgWHqZeG faGvbs4Qk6MRk/vXC72C2IAeSSHdALphNT+2hQkqSZTTlZuo+u2K+heVQ2B3QUlgK4hN blYA== 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=OzrnpRRkFvIZstOU4+rXZ++bwzZ4/ZEkkWA4xAuIZiQ=; fh=XEpKVpkBPU9dgT5BQb7isaHOy4os95OIVTAyuoORsjM=; b=hbOT50brzSNMeS4M1BAlFxs7Jh5spHm0bW4lt1gc/MQ/INoHH+Sxd+iBAFQiOhiKRa 8o3wjYaIGzBDhVlIcrUsdwW3/YONVoN7csNaugqv9e8k0pnRbqP2XesLM7KjFQuJsXQa wrvVesEkTsRGluJCZxvCi48Yl4agu5SCKfR8xL4Lup6XPMw5Xf+KnugW2eZWB4fK3b0L F1ObheKXHTmeex/W5Q0rPBIjCOgdWd2mnF9oGqBeq7EALa5BNeQr/eHzIPjwturgg5Vr C22a72r7bNrDMOrpr45wy3e/RBvsJvu6MYsw/B28Oe6x4XO8x8KED3YLHu7Crd7Wy8MH EWgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RvjxIlcb; 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-3798-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3798-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lm22-20020a056a003c9600b006e468fd088bsi1634208pfb.7.2024.02.19.14.24.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 14:24:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3798-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=@linaro.org header.s=google header.b=RvjxIlcb; 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-3798-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3798-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4BEC9B215AE for ; Mon, 19 Feb 2024 22:24:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FF8655E4E; Mon, 19 Feb 2024 22:24:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RvjxIlcb" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) (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 8047454730 for ; Mon, 19 Feb 2024 22:24:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708381453; cv=none; b=HYzv1gX/Bn74yaHx0uhJwHomlfOCwZgUHBnBSTlULFznwj0DNfvsNRmO9hYyCYzfs3yv11R1ryFh3oASDxi4U7AL3AP7+RMevTbNyH+VtSAioz3g+yq/ZyJazWdqmh4Gx0ilKrJQMUX7d5ORuSFTCQ2Us48e97kz6q/WGEDeXCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708381453; c=relaxed/simple; bh=v8eeW/Xl6iE0eK3Nh7U4mdIheXn5540a7a9a3m0uDqE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=phS3KvBfSQn3IPDq9c3VDIJH88qTl5gKfqWYhMJsWKMor96ooAfIxYdOfsidsK/X7SODUScQd4rL2CJEcz1yEMPEYQFs5wezFRHPadaeAgPJAGYGTyFoQtzDXiDMmDbJdYBIvFcAop3EIi84dRwiEWQ9tbb3wqBkdaaqXMnHH9M= 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=RvjxIlcb; arc=none smtp.client-ip=209.85.219.177 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-yb1-f177.google.com with SMTP id 3f1490d57ef6-dc6d8bd618eso4578912276.3 for ; Mon, 19 Feb 2024 14:24:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708381449; x=1708986249; 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=OzrnpRRkFvIZstOU4+rXZ++bwzZ4/ZEkkWA4xAuIZiQ=; b=RvjxIlcbjvtnvHHz3lOt8NnaxRz5yp+ISytKd/h5gtRzFrxoa+2de0HeyyxJQf/umr ziGFvW1wswHPX1aLn9Hs38Zl7Yj/gub+HYDzqGBNay1KS38YMs2bKh6VV6/77lK0CaON +Er+u8TSOODVeJoTPcnKb7n/FKoo/LG19esJFivd+/BEHembdMQpHrieLutHhDLcHsGg rBxTe8ALMIELmqPWAMKEj0lr5wYXun+Xq+rTk+9nALD6tcmNFdN23uD7fak8YYHx5iid rdwzBAbRYSTIJRVR7LmUz/dTOMeJSMiI1iAAaPFLD6Yv3B09ki9ADrwXQ6C3gB0+/JmI B8iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708381449; x=1708986249; 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=OzrnpRRkFvIZstOU4+rXZ++bwzZ4/ZEkkWA4xAuIZiQ=; b=rxpMZ7sWQ7B2sCVO/3UkDdM7kdW1HYMzys0+e33h0QwOPIfDDrtWfXvrvkMmWdFXBZ 9MNLTfh78LzFBH/WdO0VJS+gS50UtF0tVt/ldzwpJdwvFWFeW6QaoNQi2CHm+K/usJgK l0VN02oIx6KVkMxKFQavX4m4JRkLfd++XVBxDy8JN7K1DjHhmV5g40Gi0CcFRcfIUsJv Zgy9oYlimrvRuRCszXZWybtkbRgWpR12yWLfQezUAhxrJ1KN62Cmm79jqJByhnF4sngI 60kelIEuUMg3w8GTTSdfDwq2UDPX32Ox3XENQk4Ak7bCurtn7JjsJKh9u7U6qS+uFOlY J21Q== X-Forwarded-Encrypted: i=1; AJvYcCVFr228EHoYim+2d3z5sxV8BkoCDbxC7/zO65pryhkNQowQQaUTbASDVU+rX9Jisyf/CT9J+5/2V5PJ4iT4TsZYstrLc1hmqMNWhEU6mYI= X-Gm-Message-State: AOJu0Yx+uynpypSLj11YzE/Xna8/iv9rwaqzVEJArJPNNO/kKTf9suqN 3xni6tX6xdD72MCbdAoY6t714A2Y7SvojkiAEdgsjQLKywbtmRgwZ10ort/E2OO8C9KD4IR+JK8 1qJgkEVPFEpd2VwMntB4/Gx3ik3N6sCHRR5jc+g== X-Received: by 2002:a25:adc9:0:b0:dcd:63f8:ba32 with SMTP id d9-20020a25adc9000000b00dcd63f8ba32mr11579688ybe.65.1708381449555; Mon, 19 Feb 2024 14:24:09 -0800 (PST) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240130-wcn3990-firmware-path-v1-0-826b93202964@linaro.org> <08c312f4-f3d3-4980-b998-b28026b5180f@quicinc.com> In-Reply-To: <08c312f4-f3d3-4980-b998-b28026b5180f@quicinc.com> From: Dmitry Baryshkov Date: Tue, 20 Feb 2024 00:23:58 +0200 Message-ID: Subject: Re: [PATCH RFC 0/4] wifi: ath10k: support board-specific firmware overrides To: Jeff Johnson , Kalle Valo Cc: "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 Content-Type: text/plain; charset="UTF-8" On Mon, 12 Feb 2024 at 22:56, Jeff Johnson wrote: > > On 1/30/2024 8:38 AM, Dmitry Baryshkov wrote: > > 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 > > --- > > Dmitry Baryshkov (4): > > dt-bindings: net: wireless: ath10k: describe firmware-name property > > wifi: ath10k: support board-specific firmware overrides > > arm64: dts: qcom: qrb2210-rb1: add firmware-name qualifier to WiFi node > > arm64: dts: qcom: qrb4210-rb1: add firmware-name qualifier to WiFi node > > > > .../devicetree/bindings/net/wireless/qcom,ath10k.yaml | 6 ++++++ > > arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 1 + > > arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 1 + > > drivers/net/wireless/ath/ath10k/core.c | 11 ++++++++++- > > drivers/net/wireless/ath/ath10k/core.h | 2 ++ > > drivers/net/wireless/ath/ath10k/snoc.c | 3 +++ > > 6 files changed, 23 insertions(+), 1 deletion(-) > > --- > > base-commit: 596764183be8ebb13352b281a442a1f1151c9b06 > > change-id: 20240130-wcn3990-firmware-path-7a05a0cf8107 > > > > Best regards, > This series looks OK to me, but would like Kalle to review as well Kalle, gracious ping. This is my proposal to fix the issue that we have discussed at some point, wlanmdsp.mbn for sdm845 and for qcm2290 / sm6115 have different features, resulting in kernel log being spammed on the RB1 / RB2 boards. -- With best wishes Dmitry