From patchwork Thu Jan 11 16:06:19 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: 1885707 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 4T9qLY0NTwz1yPm for ; Fri, 12 Jan 2024 03:07:16 +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 1rNxaA-0000xF-MF; Thu, 11 Jan 2024 16:07:02 +0000 Received: from mail-pj1-f51.google.com ([209.85.216.51]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rNxa7-0000wO-4h for kernel-team@lists.ubuntu.com; Thu, 11 Jan 2024 16:06:59 +0000 Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-28c0536806fso4814275a91.0 for ; Thu, 11 Jan 2024 08:06:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704989217; x=1705594017; 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=ZmLwTkP9ZGRbEuKdxZLEWVjYRImrP2TdOzVtHCKHtGU=; b=lR5kgC0aQPpeChJoN1OQkmUXUnvclqOLFy4S8nll9io1LP4TZna3CAmaSYDeGZ4E/5 roy5cqZrG8O3ltHJVuGDhQrApUEKKCwS6cvfwgbFfBGOvNLT5O2QPDLnnucIX2knkwlc J8BIwS7VCzPUpUSsZWxBZxkS5d6tdxq2ZDZ1YsVy3f8MLSZG1gObp2us3XOwmMsvBFno 3QoIUHj8nMp+BO0fXQIuogPeKBDr1liByntSZcyUP34ayQLgyF3u0rilJrdtA7eSqzKm rmf0A5oP4SKbrI4lPlMVmCDo3FW/nhUpnGNw0A64p7N0aDr2YsfozdKiMY8skvQ7uLtf +Gpw== X-Gm-Message-State: AOJu0Yzh3iz+Z1N0cK4XgvkYo1Tsoqx55cb0LYJcI4vcSMim5naSC2ab +r5iGRNbeMybT/+mp7iZdtmT+n11IdE= X-Google-Smtp-Source: AGHT+IEf3VNt0nzpuyJSXQBm4wX/ElWjmwSp5hFbJFPWgdzGL3Ym7Z4IwiJGhLimf9qqRahanTI/ig== X-Received: by 2002:a17:90a:7407:b0:28c:ea35:44f8 with SMTP id a7-20020a17090a740700b0028cea3544f8mr1422858pjg.79.1704989216461; Thu, 11 Jan 2024 08:06:56 -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 sw7-20020a17090b2c8700b0028c89122f8asm1750634pjb.6.2024.01.11.08.06.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 08:06:56 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][PULL][linux-firmware][Lunar] WCN6856 Wi-FI Unavailable and no function during suspend stress Date: Fri, 12 Jan 2024 00:06:19 +0800 Message-ID: <20240111160620.1993901-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.43.0 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/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 9f4e8e775e4309d1c10240b5f1af44825f3366da: UBUNTU: Ubuntu-20230323.gitbcdcfbcf-0ubuntu1.9 (2023-11-16 10:56:04 +0100) are available in the Git repository at: https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048977/WCN6856-suspend-resume-wifi-lost/lunar for you to fetch changes up to 516344386cba12df6f556e7fc196e4d43cbe4a7e: ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.36 (2024-01-11 23:23:05 +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(-)