From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.173 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796191675; b=teUaq8sWcNcZN69tUBA4Pnbo+vfhhrTWMinkuOGkmlnnKDpTrKdLzN1TARo251T27KsR 8EZUwQXNzj2pyg3lHYGvv9x1mGWo0DGK1nH4VnGzNYJ8mw//4wv6MJfEQw966A2Nv8Kft //Tra8KMCCL7eXkxAu2ZuhmQo2HDu+Fe7DY+q8qpDmVom9HYNCYfjtFsNb5G7vlAT2Df7 l5+ANb3cRKAMwY4lcCPHa26oHAT2osUJsYbuE1JayTBtD0T1Z1n+OJXEppivWYnwN+wl1 v22L0lH5l10rMj6hSU5UBUCWfxTI0lTFRRYWvDfu/FifZCTNwcy1gHuj9MM9HwVrfog== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796191675; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=jg1tt2RaNBeP+2dWZhB5v67V64F3KIdbmLnHh37dHSQ=; b=E0JwZi6n1uL+BqHl/1x6KSAMSExf4z9qmeMq8fmQSesugFxmFoy+6fRAwwnicE1cAHmB Tq9k5SRF4cpW1MTPtvjNi9r0XjIOQFm5Lo8NLZJN0UVb0z/Go3FNSoiNWhc4uZ5kEubNx mrw2HPtYyJxwacTd2JN0laLRjSJymkJysKx96fdF15wELYrJ35ay+s4QX3FETYHPxaZOB AUuDPJj5AefHBk8vjO9rsvzWcjGFxmQpbcn5SEoeDOk8aQ5SmMOm4nyXa71MoO+zBfrJ/ PcS2rzVZhA3/fRT6TPpHeZl1UwxYdHstXRR6lBp21RprWAL0+5+cWZXjFADXIPFcZlw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=BUWS8GGm; arc=none smtp.remote-ip=74.125.82.173 Received: from mail-dy1-f173.google.com (mail-dy1-f173.google.com [74.125.82.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3054606A325 for ; Wed, 2 Dec 2026 06:07:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B3054606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=BUWS8GGm Received: by mail-dy1-f173.google.com with SMTP id 5a478bee46e88-386b3524415so1669578eec.0 for ; Tue, 01 Dec 2026 22:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796191674; x=1796796474; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=jg1tt2RaNBeP+2dWZhB5v67V64F3KIdbmLnHh37dHSQ=; b=BUWS8GGmnC9OQLCrEfvnZ7WerdcJvOUZhfwe/tYt/oTb27VEqai8mNUXe97AInSdvg DrNk/WEXWMIdCoBLrNZCqFbLyS84si2OpW0QG6IjiS/aTj/zYK/9sY8pBfh4/gD2Z4Y/ cA6yslqieqjjRyn56pMMl4LwsiE22Ag49z6TkT0/OpCopGE4tEFEIEDWp22QfZYmBtiY qKspJBVkamMYeavDM5yyqaAQK1kJPrhKnYALh40MU9f4TdZa4GauXQfcnVolxD8npeZa iPF03PK6PmrQWBR0TQ1J/57kddPVuMhZe2QS8LzqdqzdBc49TlJYD64hTHljQNKRveCW 5vnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796191674; x=1796796474; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=jg1tt2RaNBeP+2dWZhB5v67V64F3KIdbmLnHh37dHSQ=; b=x+W8mMCpxY4PU6W6LXYfBe1jcuCWjNj5J92/EbETcF6ukS7wgqA0t0hvBfEi2eS1gA q1rQa7y32MNBVvyliOIZWI2utsSTPMEGP+m/RrKBrKRM2XYxX28SyDBAACSeaPYk2NVJ hCD2lYxiXMryYEcAJbYOGI/pcFfTdpBnxGTs0gnUKxyEROegpsewNBFNTrd7doSbN89C 6BvwPT389g5WPfZvNOMc5q12FXOg/y7b3DPXdY102pF+Po9qDqxDomFNUkErOxE5PXEK EaJWXw1tqfVAybLu6gxqAllDjScu/6Zc0d+H/JcCbKB/YJhEL+58W5K8gxWert/DoGBo uHNQ== X-Forwarded-Encrypted: i=1; AL+hErHqGuzLeN5VXfxzqrVJJOZeCoc/OHA5ogJgsP0i8z97I0rK/R3PpBUEUF5/9C2JuJ9owPwq+Gua0jw=@vger.kernel.org X-Gm-Message-State: APuU4Z+TUAFiNeG9uFLcTfKofRrN2qzXO63WpmSlmh5ceCWxbjy4dq4g TzuvPLJ7RQW5x56RO7mbOoNqlXW7GQ2xfmKVI8Iwz7giFEvEOpKqhS5QgY29zdQ9 X-Gm-Gg: AZFdTZe38KcurenywFk8R9MoybkFjcie4amtkEfLDHF5BLZQ8BtiJsOMQOk1upbMYaj w1TalauRj/cRs2wCHW3xZknuNCagNwHPrBIBQuEm21PN9iA7wbo23bV8EenGlRf6QrKIG+5B7sh 863wRzTb5/HvhX1pU43A6OmZEUu5LXg48so9GRmsHkOUzg2djU9r1J1Olkq3Q4I4QdPfwmQaYLN Xa2juubJiKZ5S3GrWezcrOCDR1JxXwYYrBY6lcQBNFJNjGGknOx/QJ/qvbFa5Guou/gnKPht2W1 r3kudBUXbDY8na3oMSiB61DUBzneE4OSaIQAD6pNj0GkmCHWOiEcpUQGXCMs0QVPBoRrEdg0ei0 3FhJZip6bjHYcf+jjr1hqjkcRmg3U1vtMme5gHMTKr+0lkSn4PNFCSxMO5p6eisA+jSkJF9XO66 mVeA2+7BKU0bQUKd0zn6m1aBQ0bjXKuZ8hW2otGvbaCOsz980rNdBoctR1b3Me6MFWegzZ24roC IIyfCt97aTPx4SrwOHx/aWW9OTqizIK7OaBemviTSrUvKySzIl3J6MdZLgmvSbKswLtJ5Plzp9F 4kuGuRwAajxd7JJb80EHBnWByG+fgN2RI0lnxypcU0lNIZ3kbQemlGqkbzUFJOsAj7VXvtig4qE 2ExqIUPrlZJJIxFiPxH5xUJkcQLKLYch5Ml9TGJONjhU9yZH+18I9MAI2XE8QraXNL+pSpQ+A1s MbZEVUIy38aWlyy1BQtNvR5NCDO28Khs+UjtfEQYzpBOE9EgVRTvlEncew/P+b/h5vclMkZeWu X-Received: by 2002:a05:7301:b8e:b0:377:d6e5:e642 with SMTP id 5a478bee46e88-3856e245b2fmr51335631eec.1.1796191673658; Tue, 01 Dec 2026 22:07:53 -0800 (PST) Received: from cachyos-aura ([106.222.179.191]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e99fdsm132059211eec.5.2026.12.01.22.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 22:07:53 -0800 (PST) From: Navon John Lukose To: Noemi Calonego Cc: Nika Krasnova , Bjorn Helgaas , Emmanuel Grumbach , Mark Pearson , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/PCI: Disable D3cold on Intel BE200 Wi-Fi on Lenovo IdeaPad Pro 5 14IAH10 Date: Wed, 2 Dec 2026 11:37:45 +0530 Message-ID: <20261202060745.1395600-1-navonjohnlukose@gmail.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: References: <20260722021321.68902-1-nika@nikableh.moe> <20261025145044.22228-1-navonjohnlukose@gmail.com> X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Tue, 01 Dec 2026 12:24:15 +0000, Noemi Calonego wrote: > I am experiencing the same issue on a Lenovo IdeaPad Pro 5 14IAH10 > (83JK), equipped with an Intel BE200 (8086:272b), running Ubuntu > 26.04.1 LTS. [...] > * BIOS updated to QLCN36WW. > * Ubuntu kernel 7.0.0-43-generic. > * Mainline kernel 7.3.5 also tested. > * Intel BE200 firmware updated to iwlwifi-gl-c0-fm-c0-c107, including > the corresponding PNVM firmware. > * Suspend mode: s2idle. > > Unfortunately, the Wi-Fi adapter still fails to recover after > suspend/resume with these updates. Thanks. That makes a second unit failing, on QLCN36WW, which is newer than the QLCN35WW in Nika's notes. > I can confirm that setting d3cold_allowed to 0 for the Wi-Fi PCI device > allows the adapter to recover successfully after resume. > However, I would prefer not to keep D3cold disabled permanently because > of the potential impact on power consumption and battery life. On the Yoga Pro 7 14IAH10, D3cold saves nothing measurable in s2idle. Across 90 s cycles alternating d3cold_allowed, hardware sleep was about 88 s of each 90 s suspend either way. Keeping it off is fine. > I would be happy to test the proposed PCI quirk on my machine. Could you > point me to the appropriate patch or kernel branch and provide > instructions for testing it? Nika's patch is here: https://lore.kernel.org/all/20260722021321.68902-1-nika@nikableh.moe/ It calls pci_d3cold_disable() on the BE200 when the DMI strings match, which has the exact same effect as your sysfs write. So what a test adds is the match on your unit; this should print "IdeaPad Pro 5 14IAH10": cat /sys/class/dmi/id/product_version To run the patch itself (again, it does exactly what your sysfs write does), apply it to a mainline tree, build and boot that kernel without your workaround, and suspend a few times: wget -qO- https://lore.kernel.org/all/20260722021321.68902-1-nika@nikableh.moe/raw | git am Until something lands, a udev rule makes your workaround persistent: # /etc/udev/rules.d/80-be200-d3cold.rules ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ATTR{device}=="0x272b", ATTR{d3cold_allowed}="0" Your mail seemingly did not reach linux-pci or LKML because vger drops messages with an HTML part, so only the people on Cc saw it. If you send test results, plain text should get them onto the list. If you really want D3cold anyway, the cause is in the firmware. The root port's RTD3 _OFF (the RTD3 code the firmware inherits from Intel's reference) removes the slot rail but leaves the card's WLAN reset line (WLRT) high, so the card is back-powered through it and does not come up when power returns. The real fix belongs in the BIOS; from the kernel side all we can do is keep the card out of D3cold, as Nika's patch does. Holding WLRT low while the slot is unpowered fixes it on the Yoga. This is the SSDT change I run, against the Yoga Pro 7 14IAH10's SSDT23 on QGCN36WW, provided as-is: --- a/ssdt23.dsl +++ b/ssdt23.dsl @@ -25,4 +25,5 @@ External (_SB_.CSD3, MethodObj) // 1 Arguments External (_SB_.GGOV, MethodObj) // 1 Arguments + External (WLRT, FieldUnitObj) External (_SB_.ISME, MethodObj) // 1 Arguments External (_SB_.OSCO, UnknownObj) @@ -2673,4 +2674,5 @@ ADBG (Concatenate ("Rtd3Pcie Generic _ON PDOD time : ", ToHexString (PDOD))) ADBG (Concatenate ("Rtd3Pcie Generic _ON Current time : ", ToHexString (Timer))) + \_SB.SGOV (\WLRT, One) // release BE200 product reset before power-on \PIN.ON (PWRG) Sleep (PEP0) @@ -2706,4 +2708,5 @@ If ((GPPR () == One)) { + \_SB.SGOV (\WLRT, Zero) // hold BE200 product reset low while unpowered \PIN.OFF (PWRG) } Again, dragons be here. I'd highly advise you to be careful with it. A bad table override can leave devices missing, so keep a boot entry without it. On your BIOS the line numbers will differ and the table may not be SSDT23. Both hunks go in \_SB.PC00.RP10 (the BE200's root port, 00:06.0); the same code repeats for other root ports, so check the scope. The override must raise the OEM revision, and here a second SSDT shares the "INSYDE"/"ARL" OEM and table ID, so it needs an unchanged copy with the same raised revision, in the same order as the firmware tables. Loading is described in Documentation/admin-guide/acpi/initrd_table_override.rst. If anyone at Intel or otherwise fixes this based on the diff above, I would appreciate a mention. My changes in it are CC0; use them as you like. Navon