From patchwork Wed Oct 20 07:03:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1543737 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HZ1n70Y20z9sRN for ; Wed, 20 Oct 2021 18:04:10 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1md5ds-00080E-VJ; Wed, 20 Oct 2021 07:04:04 +0000 Received: from mail-pg1-f178.google.com ([209.85.215.178]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1md5dq-0007zF-IP for kernel-team@lists.ubuntu.com; Wed, 20 Oct 2021 07:04:02 +0000 Received: by mail-pg1-f178.google.com with SMTP id 75so21700575pga.3 for ; Wed, 20 Oct 2021 00:04:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=VpmMAcBau0l3P+RWMJTqOpLbJSdlggfuS2RFlsXGNZI=; b=T7iRmmNghjd5mF12YuceBmFLYTJ4HuFUtkd2QSW9taEpz/8tnvLHePFVqWkW7OEfpf fhV1HFHv2izrWucbPffKUvpYMECBCq5U61jbS7Tp35LUAPnuks7QHstYRGGYBpJL5MQ1 QiyRNbH2zlBx0/y7zngtD0uWZn8Np9nhJ7JR8XRYmhTGtFiLG6Bshr6FcXL87nf9PGj6 gprxga2AQ4XHny2L3wicEDg5Ndu0ZSLCMza1HpryE2g0w3bkieAFpfZluP9AtHkP2Ac8 p1Bh+H6nKUg69Teyj+YnaVxnAIdq+XdICHffLpCxdUUrQylYLMG3pxYSx/IGepzyVOTy 0Yqg== X-Gm-Message-State: AOAM531oo8tWajYrdHui3k+Qjbp62Fq55WE032Umz24tOpy9v6VSjlM9 uj7qiGw6igNjx3aM6MDQEua6ksA7GP3t8w== X-Google-Smtp-Source: ABdhPJyyJqheOLvVZ1Wsh6g6xxciN8WQfcqWMPr5etWeY4ujD8aqRJHNP38wikt7pquYWcj5/+7nmw== X-Received: by 2002:a05:6a00:90:b0:44c:6029:7fcb with SMTP id c16-20020a056a00009000b0044c60297fcbmr4577279pfj.69.1634713440610; Wed, 20 Oct 2021 00:04:00 -0700 (PDT) Received: from localhost (218-173-138-251.dynamic-ip.hinet.net. [218.173.138.251]) by smtp.gmail.com with ESMTPSA id 139sm1278148pfz.35.2021.10.20.00.04.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 00:04:00 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][linux-firmware][I][PULL] Update firmware for MT7921 WiFi/Bluetooth Date: Wed, 20 Oct 2021 15:03:59 +0800 Message-Id: <20211020070359.1723649-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.215.178; envelope-from=vicamo@gmail.com; helo=mail-pg1-f178.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1947829 [Impact] Sometimes MT7921 may not be probed due to an endless mcu reset: [ 5.789548] mt7921 mcu reset 0 [ 5.790625] mt7921 rx type 0x7 [ 5.790625] mt7921 eid 0x1 ext_eid 0x0 [ 5.790626] mt76_rx_event eid 0x1 ext_eid 0x0 [Fix] WiFi and Bluetooth firmware updates from mainline: * e5a80ef8 linux-firmware: update frimware for mediatek bluetooth chip (MT7921) * d34196f5 linux-firmware: update firmware for MT7921 WiFi device [Test Case] This should fix the mcu reset and wireless/bluetooh devices should be probed successfully. [Where problems could occur] While there is explicit FW API for kernel version compatibility checking, this might introduce some hidden glitches that we don't know yet. [Other Info] MT7921 is supported since Impish 5.13 kernel, and Impish already has the latest Bluetooth firmware, so only the WiFi one is proposed. For oem-5.13 and oem-5.14 in Focal, both firmware updates for Bluetooth and WiFi are required. ---------------------------------------------------------------- The following changes since commit dbd025299a27674401c31c9f055abc3044807627: UBUNTU: [Packaging] rebase-upstream: Add a bug reference if env variable LP is set (2021-09-30 08:12:32 +0200) are available in the Git repository at: https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1947829/mt7921-mcu-reset/impish-pull for you to fetch changes up to 721e33dc2e615e810a3b4e0de0cb13e6083560f7: linux-firmware: update firmware for MT7921 WiFi device (2021-10-20 14:47:05 +0800) ---------------------------------------------------------------- Deren Wu (1): linux-firmware: update firmware for MT7921 WiFi device WHENCE | 4 ++-- mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 92192 -> 92192 bytes mediatek/WIFI_RAM_CODE_MT7961_1.bin | Bin 685320 -> 689864 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin index 15c68961..d63e48da 100644 Binary files a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin index 9de3d1d4..2a0599f5 100644 Binary files a/mediatek/WIFI_RAM_CODE_MT7961_1.bin and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ diff --git a/WHENCE b/WHENCE index e957390b..b3e53620 100644 --- a/WHENCE +++ b/WHENCE @@ -5150,9 +5150,9 @@ Licence: Redistributable. See LICENCE.mediatek for details. Driver: mt7921 - MediaTek MT7921 Wireless MACs File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin -Version: 20210612122717a +Version: 20211014150838a File: mediatek/WIFI_RAM_CODE_MT7961_1.bin -Version: 20210612122753 +Version: 20211014150922 Licence: Redistributable. See LICENCE.mediatek for details.