From patchwork Thu Jan 11 16:07:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1885708 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T9qN84QFTz1yPm for ; Fri, 12 Jan 2024 03:08:40 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1rNxbZ-0001CE-2G; Thu, 11 Jan 2024 16:08:29 +0000 Received: from mail-pg1-f181.google.com ([209.85.215.181]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rNxbW-0001C6-3D for kernel-team@lists.ubuntu.com; Thu, 11 Jan 2024 16:08:27 +0000 Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-5cdbc7bebecso2387924a12.1 for ; Thu, 11 Jan 2024 08:08:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704989304; x=1705594104; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KW25irc7MUvqS/7mwHZCuZixGU6o0bnBUiRfyMWrIhE=; b=tIEYPXL6aZB2vDd5hKVS8mHSR4TkP2kdO4Dc0/0INSNzsv3V4QrtdKovucBan/UxOG VT4VV98wf266lwqLBoRrxI6yfzV9UIqdQyQdqG6gydh/FIrgLPITa9xMUmURzXWusSec ttSd0KXKhvgmiPKu6CY+rQZdveMmffQFTSOr/KiEUOiYvuE4LhcYGHWWu1bkERnkvsM3 tmbGbTV+cnPIhD17jkRvvE6P90M9GhzwoccohQkQydO+TWxaGUYkJHN67vMGptYA2JKJ 8XYtsIn0heKWOinHIx0ydl277FWpTZ/TNEFxanMLlD6/CgC123oN0bGAnGxYZu1UR2Jf xNmQ== X-Gm-Message-State: AOJu0YybynSfDUfo0MjH+B0t8ki4SM5r2IWCcaZqsHPV69UZIbdznUvP 17R3ZhJI0nijFijMco9sr2sgE8neUCI= X-Google-Smtp-Source: AGHT+IF662QHThXj1Z8f3IbkqVD/KoDluv6lP8McjjgRtTKd4SGKzU5u047lS4L4O7CG0VObJXb5Gw== X-Received: by 2002:a05:6a20:7484:b0:19a:2468:7c89 with SMTP id p4-20020a056a20748400b0019a24687c89mr75403pzd.24.1704989303596; Thu, 11 Jan 2024 08:08:23 -0800 (PST) Received: from localhost.localdomain (125-229-129-140.hinet-ip.hinet.net. [125.229.129.140]) by smtp.gmail.com with ESMTPSA id v13-20020a65568d000000b005bd627c05c3sm1240517pgs.19.2024.01.11.08.08.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 08:08:23 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][PULL][linux-firmware][Mantic] WCN6856 Wi-FI Unavailable and no function during suspend stress Date: Fri, 12 Jan 2024 00:07:46 +0800 Message-ID: <20240111160746.2000868-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.215.181; envelope-from=vicamo@gmail.com; helo=mail-pg1-f181.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/2048977 [Impact] Due to a known silicon limitation, the following sequence is needed while initialing the PCIE device on a certain devices with ASMedia chipset involved: 1. 'hot reset' assert 2. 2nd PCIe reset' assert 3. Asmedia 'hot reset' deassert 4. PT21 GPIO13 2nd PCIe reset' deassert. In certain caes, the WIFI link training failed while system resumes from suspend. [Fix] Upstream commits: * 17509e53b97b ("ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.36") * 324cc56975d7 ("ath11k: WCN6855 hw2.0: update board-2.bin") And Jammy takes an additional commit d1dc30480fef ("ath11k: WCN6855 hw2.0: update board-2.bin") to forfill git history dependency. And while we pulled a firmware fix from github.com/kvalo/ath11k-firmware in bug 2042534, it fails to clean cherry-pick of commit 17509e53b97b. Since Noble has not yet accept the PR for bug 2042534, it has no such problem at this moment. [Test Case] This can be reproduced with suspend/resume stress test. $ checkbox-cli run com.canonical.certification::stress-suspend-30-cycles-with-reboots-automated [Where problems could occur] Opaque firmware update. No known issue found yet after the update. [Other Info] This affects all series with WCN6855/WCN6856 support, Noble/Mantic/Lunar and Jammy for oem-6.5 included. ---------------------------------------------------------------- The following changes since commit 5a565209c744cda4abfd711a821c5f5d720843cd: UBUNTU: Ubuntu-20230919.git3672ccab-0ubuntu2.5 (2023-12-15 13:49:09 +0100) are available in the Git repository at: https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048977/WCN6856-suspend-resume-wifi-lost/mantic for you to fetch changes up to d31df6ad8a58ebe66c9869f9d40c4677533dbb3d: ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.36 (2024-01-11 23:24:00 +0800) ---------------------------------------------------------------- Kalle Valo (2): ath11k: WCN6855 hw2.0: update board-2.bin ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.36 WHENCE | 2 +- ath11k/WCN6855/hw2.0/amss.bin | Bin 4980736 -> 4988928 bytes ath11k/WCN6855/hw2.0/board-2.bin | Bin 6278772 -> 6308684 bytes 3 files changed, 1 insertion(+), 1 deletion(-)