From patchwork Mon Dec 13 09:26:18 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: 1567194 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 4JCGNh4wy0z9t54 for ; Mon, 13 Dec 2021 20:26:43 +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 1mwhbJ-0001lA-54; Mon, 13 Dec 2021 09:26:29 +0000 Received: from mail-pj1-f47.google.com ([209.85.216.47]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mwhbH-0001l0-Ap for kernel-team@lists.ubuntu.com; Mon, 13 Dec 2021 09:26:27 +0000 Received: by mail-pj1-f47.google.com with SMTP id nh10-20020a17090b364a00b001a69adad5ebso12819357pjb.2 for ; Mon, 13 Dec 2021 01:26:26 -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=Ea2QwDZzkvRSw0X7Dj7Az/qS4CqzmqNDiGKA6h6AvRU=; b=OOiSawxRRX1/CaLjlwwYWt+DP9tCy4wxHOuULfr9cSkOcM/hIcxmo1fmfgWBZOKg8v h3PwcTw3iocOepRIZaID68vvzZtfPt78pYuxe+UZlWb2qXM4Sh3QXzQ/xPDi3VOES2S1 HS2OpKV+mgJmbfnC/cqcazqDSgV5yCFmp7Z5IvkaQJ222LZXYFDOF62CpSarzSz/K/FM oIgWXhbIxLmr83U/6vbFBtR5T+ZRD639F1PKhZuWboeNMScdnHB0poSc7A0ci3tIDlcb 593kdntHxX+XtnDiQuUbR+9YhiHkdwukU9utQ7WCwt5eK2OX4ghYs0kiIjpG5ra6zX8K ZGaw== X-Gm-Message-State: AOAM530t9nTyIt7RkxvngmwCk1sdpNfwRlkVziEKh1SOeyvB/BFJKRjs kbwwnmjfz7QJ1F212RFnEQtmjzYnE6YlJQ== X-Google-Smtp-Source: ABdhPJxUcoNOr2tUWc7bI+FH6FvLOQL5fE8Qw5DxH75tzJEUokQfZXXdGaaZsWfMeFaEcJQzP/7qlQ== X-Received: by 2002:a17:90b:1e4e:: with SMTP id pi14mr42767627pjb.161.1639387585047; Mon, 13 Dec 2021 01:26:25 -0800 (PST) Received: from localhost (218-173-164-169.dynamic-ip.hinet.net. [218.173.164.169]) by smtp.gmail.com with ESMTPSA id q9sm12498822pfj.9.2021.12.13.01.26.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Dec 2021 01:26:24 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/2][OEM-5.13/OEM-5.14/Impish/Jammy] Fix MT7921 failed to start WM firmware Date: Mon, 13 Dec 2021 17:26:18 +0800 Message-Id: <20211213092622.3508694-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.47; envelope-from=vicamo@gmail.com; helo=mail-pj1-f47.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/1954300 [Impact] MT7921 might fail at device probe at boot: mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20211014150922 IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready mt7921e 0000:03:00.0: Message 80000002 (seq 9) timeout mt7921e 0000:03:00.0: Failed to start WM firmware mt7921e: probe of 0000:03:00.0 failed with error -110 [Fix] Kernel fixes: * 995d948cf2e4 ("Bluetooth: btusb: Return error code when getting patch status failed") * 00c0ee9850b7 ("Bluetooth: btusb: Handle download_firmware failure cases") And firmware: * 948cad200e94 ("linux-firmware: update frimware for mediatek bluetooth chip (MT7921)") [Test Case] Run checkbox reboot stress tests to try trigger this issue: $ 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] These patches are currently in bluetooth/bluetooth-next.git, and therefore not yet available to any Ubuntu kernel. Nominated for all >= 5.13. Mark Chen (2): UBUNTU: SAUCE: Bluetooth: btusb: Handle download_firmware failure cases UBUNTU: SAUCE: Bluetooth: btusb: Return error code when getting patch status failed drivers/bluetooth/btusb.c | 5 +++++ 1 file changed, 5 insertions(+)