From patchwork Thu Jan 11 16:08:37 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: 1885709 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 4T9qP61KNsz1yPm for ; Fri, 12 Jan 2024 03:09:30 +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 1rNxcQ-0001MG-3K; Thu, 11 Jan 2024 16:09:22 +0000 Received: from mail-io1-f51.google.com ([209.85.166.51]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rNxcJ-0001Kh-UN for kernel-team@lists.ubuntu.com; Thu, 11 Jan 2024 16:09:17 +0000 Received: by mail-io1-f51.google.com with SMTP id ca18e2360f4ac-7bc32b04d16so224899339f.0 for ; Thu, 11 Jan 2024 08:09:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704989354; x=1705594154; 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=VDDHN6mINiaxg5grJfHBINFFk1v+xNU6e/GgwmP1uM0=; b=dcZOInEHm1qX6iwRZNe6PMFvqjQJ+R8YnY2ZECrr+gh7ZruBepps8csqWv6nV+0VnE 74hl1FNwlyqV9BauqFQQXNjII434IC6ury7F8WSbOLAUZchZJnyIAQUH0XpfBFpyR8lP U+sbUIVeavFi0eTsK7KMEx/xUF/R/rVtM2bfGE41TiWquIASGZ1u8FhcQCWqu/4ODzDM +a51Klqd3bRWL6i3t/fCtyMClyVj1tyKIhe16CKrnK6+NQYl9boC61q4nrhn42mdYv0g JYlV30IW5ctcmSfBkv+OedE7mgShDqYhCsvtwYkXvmuOOhAB4XHAMDN6gRYqQ834tMpX hE4Q== X-Gm-Message-State: AOJu0Ywj+uMSA/TA9OqoYdkRSpalkM4Z3j9tQhzRe4k0OUh04Z22md54 E9o0h/s7hOWc+xXoiZsP0OyqVDGySXo= X-Google-Smtp-Source: AGHT+IGpeHf/T4m2S43hp12n9oWX+4GHAa79RKq/OeiJtOqIzDaWOs0uF28WYcQdXWl1R+4LkIba1Q== X-Received: by 2002:a05:6602:1781:b0:7bc:775e:6a85 with SMTP id y1-20020a056602178100b007bc775e6a85mr1389259iox.42.1704989353414; Thu, 11 Jan 2024 08:09:13 -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 l23-20020a63ba57000000b005cdad153d84sm1233411pgu.90.2024.01.11.08.09.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 08:09:13 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][PULL][linux-firmware][Noble] WCN6856 Wi-FI Unavailable and no function during suspend stress Date: Fri, 12 Jan 2024 00:08:37 +0800 Message-ID: <20240111160837.2005028-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.166.51; envelope-from=vicamo@gmail.com; helo=mail-io1-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 387c2bd0ad70b04df0c3ffea75e25b08f406e4fc: UBUNTU: Ubuntu-20230919.git3672ccab-0ubuntu2.2 (2023-10-10 11:48:12 +0200) are available in the Git repository at: https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048977/WCN6856-suspend-resume-wifi-lost/noble for you to fetch changes up to ced9ebf384d489cb2952c104365833777cd888e8: ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.36 (2024-01-11 23:39:35 +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(-)