From patchwork Thu Jan 20 17:30:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1582261 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 4JfqKH4xwWz9sCD for ; Fri, 21 Jan 2022 04:30:27 +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 1nAbGP-0007LC-MX; Thu, 20 Jan 2022 17:30:21 +0000 Received: from mail-pj1-f51.google.com ([209.85.216.51]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nAbGO-0007KL-Gu for kernel-team@lists.ubuntu.com; Thu, 20 Jan 2022 17:30:20 +0000 Received: by mail-pj1-f51.google.com with SMTP id d15-20020a17090a110f00b001b4e7d27474so6411027pja.2 for ; Thu, 20 Jan 2022 09:30:20 -0800 (PST) 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=LlMFJ5Epn8L3NvcBtLvJ+r8lWKZn15r4yj+CrgXwi8k=; b=2Cx9EnYdxfqqRDgfoEukh+L3IKm5sN+FOHUjxSbLUstLNvHlhmbIO9Fn+i1cYzsy/c nX2bWJGZzwZHFRRS88c07tOjBcZkhW32op028ZlR5UvT8tAYtMrsC38QKAYn6XsQakLR ju2vQstl9GCNBqcwZ5bBzNrOeD2i1LpfLAAHVVczUpuygNNTYuMhYW0GpNmZKrgKxv/s iJrzJcEhbqitaskW0sdYpFbS2Jzu7BCuw+57wzoXouYGTt7Sk4nrvgs5wE8ny5kYlBxS ePt3EOTh0iNEKzL/RXLTj9d0WVO2aDBzANnIs3ZTBzk0N7E1Vu2YknWyIelcvIoB6iGG tfFQ== X-Gm-Message-State: AOAM531Ot/VIaQxr5rpdvc5nijMOLC3gzEXkPn874o4EqNfgkQ/DwhvD OOT+HrBbNRbMPeCJGYxqUnsfPTkn+W3oWQ== X-Google-Smtp-Source: ABdhPJxhVRzQrRfVe1Y1a/5A+DfKYugTcwGKvPekgHljmZp8TnQegdbJp0I2w+3I9oruW1DhgbaMCA== X-Received: by 2002:a17:902:b218:b0:149:936b:8306 with SMTP id t24-20020a170902b21800b00149936b8306mr2443plr.134.1642699818388; Thu, 20 Jan 2022 09:30:18 -0800 (PST) Received: from localhost (218-173-152-240.dynamic-ip.hinet.net. [218.173.152.240]) by smtp.gmail.com with ESMTPSA id l15sm2747595pgh.27.2022.01.20.09.30.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 09:30:17 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][linux-firmware][Impish][PULL] Fix mediatek mt7921e unexpected chip reset Date: Fri, 21 Jan 2022 01:30:16 +0800 Message-Id: <20220120173016.328647-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.51; envelope-from=vicamo@gmail.com; helo=mail-pj1-f51.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/1958286 [Impact] Mediatek MT7921 may fail to resume from runtime suspend can cause chip reset. mt7921e 0000:02:00.0: PM: failed to resume async: error -110 mt7921e 0000:02:00.0: chip reset [Fix] This is fixed with both bluetooth and WiFi firmware upgrade to upstream commit 094d7adc1136 ("linux-firmware: update firmware for MT7921 WiFi device") and commit 1e744b85cd4c ("linux-firmware: update firmware for mediatek bluetooth chip(MT7921)"). [Test Case] This can be triggered by checkbox warm reset stress test: $ checkbox-cli run com.canonical.certification::stress/reboot [Where problems could occur] This imports fixes requiring both kernel driver and proprietary firmware updates, the firmware part might cause instability or so. [Other Info] This is fixed in firmware, so it's affecting all kernels supporting MT7921, which means F/H/I/J. ---------------------------------------------------------------- The following changes since commit 6f345964a8e7cb085182df6935cde82a512e21cb: UBUNTU: [Packaging] rules: Remove helper script targets (2022-01-13 13:30:49 +0100) are available in the Git repository at: https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1958286/mt7921e-unexpected-chip-reset/impish-pull for you to fetch changes up to 6d99e3480ae685fbe260dcdbd7f0efd9de589b30: linux-firmware: update firmware for mediatek bluetooth chip(MT7921) (2022-01-21 01:25:55 +0800) ---------------------------------------------------------------- Deren Wu (2): linux-firmware: update firmware for MT7921 WiFi device linux-firmware: update firmware for MT7921 WiFi device Mark Chen (3): linux-firmware: update frimware for mediatek bluetooth chip (MT7921) linux-firmware: update firmware for mediatek bluetooth chip (MT7921) linux-firmware: update firmware for mediatek bluetooth chip(MT7921) WHENCE | 6 +++--- mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin | Bin 518062 -> 512494 bytes mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 92192 -> 92192 bytes mediatek/WIFI_RAM_CODE_MT7961_1.bin | Bin 689864 -> 694984 bytes 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin index 54b5981889bc..77faf205a2a9 100644 Binary files a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin and b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin differ diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin index d63e48da73f9..7a9d9f012963 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 2a0599f59b51..c4325fb1fa7e 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 36042347fd49..586110d25a37 100644 --- a/WHENCE +++ b/WHENCE @@ -4873,9 +4873,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: 20211014150838a +Version: 20220110230855a File: mediatek/WIFI_RAM_CODE_MT7961_1.bin -Version: 20211014150922 +Version: 20220110230951 Licence: Redistributable. See LICENCE.mediatek for details. @@ -4884,7 +4884,7 @@ Licence: Redistributable. See LICENCE.mediatek for details. Driver: mt7921 - MediaTek MT7921 bluetooth chipset File: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin -Version: 20211018131102 +Version: 20220110231230 Licence: Redistributable. See LICENCE.mediatek for details.