Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2373648lqp; Sun, 24 Mar 2024 16:26:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU31OwM1oRlJyjaWbUFevrjIouamzLLjT9gpNolD1ONURu0ZkfcJYUIMxyERSFrGQvgKjKGTsjoA1uIgI2RZ2XTICyaYJ066G/pI0yJtA== X-Google-Smtp-Source: AGHT+IGpBVJfJnQXsAjjCOWgsmuR7OyWqLdesT1Hkyy4HUcr1vPSRPI/VeDHjdo7Hl7tTZjELChb X-Received: by 2002:a17:906:483:b0:a46:6f8f:d7f0 with SMTP id f3-20020a170906048300b00a466f8fd7f0mr3074226eja.3.1711322791753; Sun, 24 Mar 2024 16:26:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711322791; cv=pass; d=google.com; s=arc-20160816; b=zsVP1HZJ2WNE9uTM3sgKAUFeBAeXoW1u0V1/4xdKXNQIGv/yPUBK6gZSmsoCCbsWtx OMGbWfUicRU6vqa4lO693V6c++sHBJ1+3GjyVxPr1LOkIl52HAdnbYnmtMBJuBxfala0 Py9+T8kKMLap9Xam0pf/IOM+Lxgw/+dft3//ssJqTCuYPbl6FSXbUm6pfkrBciVXO0o3 tD6McDqq2E2H1iKxS5kRk4juXiNEuwcL0W6QZyKLg+lwrjpGtaiyBdB2OqH1xL2l/DpX QRUyGaHoOHpXqGgoSMw+rE5qgj+3hye51OsUbT2KcqU9wPUS8meDGIxihjHN5COBraP8 SaGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=SNdZyWmRz5HsATAdCLWUMu1+eZZm4N/cc1Jj1qc8Wk4=; fh=t2RbNP99dZ5LTGBwG+uUzFRqJO1HX3ssXVXZXq+ItZo=; b=BmrvbYLtLMAmLHLqJ3xzuqcRxeoeXI+GN2OLuxcoc3jxfngVvlcyKE/KRBC7odT8ww qn/JwLkjJOzGI6Q/fapB9/rZgsRckZmG7qUyr0oUXD7AJNyn+LVAobgwK/vNvdHJSJ/F 045qb7pFFIdt4MwCQPkg4rcXswjwIIAsQoqS23DyWSsnMbrulv1EoVotsbwtrsFwbjI9 lCtVShzadw2bpjs0PRx5QMnMAYwCIMC30AYDwts34jjykNlqLHoPf6MVS9dUDdFTIV3n Kq0FpJRuCsR5xP7VAPr5tfipVWMdPB321TxIBcAUbPunjiJ53KfBuv3ooHZl9ht2Y1rT K4sA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cB5hgmDH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113125-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w15-20020a170906d20f00b00a462e58e073si2074291ejz.691.2024.03.24.16.26.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:26:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113125-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=@kernel.org header.s=k20201202 header.b=cB5hgmDH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113125-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 777571F2104A for ; Sun, 24 Mar 2024 23:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D03C815D5DA; Sun, 24 Mar 2024 22:38:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cB5hgmDH" 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 E280915D5BD; Sun, 24 Mar 2024 22:38:52 +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=1711319933; cv=none; b=brc3zbJLLFfy2CNA9IJxnkeBq3FpK8pegki5jmP8hylojOmPuEopD+HakJT9p7GeAiuU4eRUziLrQxaF9gj2p6xRq7tbELOcjsQ9ghr2dcKsNjvzYr86bzsb/wzK2wlgYWtmy9ik4ajD2/+5OhrBzlJ6NaG8qHo6oRlmrqeah88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319933; c=relaxed/simple; bh=4DdoKp3nQAIVSuaDK5ih/GO5vNy63cJ29dxl7Kt/W/A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eJjmKpwSgKHl8vuWDBNqVYo+3ZgUD3kBwNeznNosBc7O8nYvFnxnKXUQ5OsPaAhxRlNmVjAQEPAkHmuEZGijRl2yu0pQNy35lfM6ISqoBs5IKWR9y2rEixcTPJCgleESZbjBGJKwOpiS66MP8WotPdFBAHHj7oQhRw9xzeBOcTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cB5hgmDH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD93DC43394; Sun, 24 Mar 2024 22:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319932; bh=4DdoKp3nQAIVSuaDK5ih/GO5vNy63cJ29dxl7Kt/W/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cB5hgmDHHfWSwuWyQOd5ii+XLTs5QZHO19fgRlPa41hMyksy5DwPbRKgkWQVrRZoP Ger9K+07dvVVkPkSrQxHi6eaqwe/4nJ71pPqB1ULOvB9f9Lhlv6q0RUGIVghiwcdRw 2SDx0GJv+leSdy8vN0plb9JOxlcXwj0YtdN4R9KhXv49NFVe4bCIZgBo8QPfo3mZue RjiSJeJGZmConCS/18Mh6AgGU6reCkE5CIO2E0F9tJuJ5QasvEKy2+9L3ZTRmiuT4R sp/PNVGNJGIOs6Y30GDT4ftVtWOt/ca5IGoO5FOLC+bbMr/F1ns8GiPIPH+tODPBJT qu6fHSQfLS55g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Ming Yen Hsieh , Felix Fietkau , Sasha Levin Subject: [PATCH 6.8 238/715] wifi: mt76: mt7925: fix fw download fail Date: Sun, 24 Mar 2024 18:26:57 -0400 Message-ID: <20240324223455.1342824-239-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Ming Yen Hsieh [ Upstream commit 6864bc734a48e90012cca8040cd0af72616666ca ] Add an address of fw region for fw download. Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Signed-off-by: Ming Yen Hsieh Signed-off-by: Felix Fietkau Signed-off-by: Sasha Levin --- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c index 3a20ba0d24928..ea7ffa16a4b12 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c @@ -66,7 +66,7 @@ int mt76_connac_mcu_init_download(struct mt76_dev *dev, u32 addr, u32 len, if ((!is_connac_v1(dev) && addr == MCU_PATCH_ADDRESS) || (is_mt7921(dev) && addr == 0x900000) || - (is_mt7925(dev) && addr == 0x900000) || + (is_mt7925(dev) && (addr == 0x900000 || addr == 0xe0002800)) || (is_mt7996(dev) && addr == 0x900000) || (is_mt7992(dev) && addr == 0x900000)) cmd = MCU_CMD(PATCH_START_REQ); -- 2.43.0