From: Navon John Lukose <navonjohnlukose@gmail.com>
To: Noemi Calonego <noemicalonego@live.com>
Cc: Nika Krasnova <nika@nikableh.moe>,
Bjorn Helgaas <helgaas@kernel.org>,
Emmanuel Grumbach <emmanuel.grumbach@intel.com>,
Mark Pearson <mpearson-lenovo@squebb.ca>,
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 [thread overview]
Message-ID: <20261202060745.1395600-1-navonjohnlukose@gmail.com> (raw)
In-Reply-To: <DB9P251MB0572E2870CA997B8016F0E8DC14D2@DB9P251MB0572.EURP251.PROD.OUTLOOK.COM>
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
next prev parent reply other threads:[~2026-12-02 6:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-22 2:13 [PATCH] x86/PCI: Disable D3cold on Intel BE200 Wi-Fi on Lenovo IdeaPad Pro 5 14IAH10 Nika Krasnova
2026-07-22 2:19 ` sashiko-bot
2026-07-28 20:05 ` Bjorn Helgaas
2026-07-28 20:14 ` Grumbach, Emmanuel
2026-07-29 12:52 ` Nika Krasnova
2026-08-29 9:39 ` Navon John Lukose
2026-09-23 1:22 ` Navon John Lukose
2026-10-25 14:50 ` Navon John Lukose
[not found] ` <DB9P251MB0572E2870CA997B8016F0E8DC14D2@DB9P251MB0572.EURP251.PROD.OUTLOOK.COM>
2026-12-02 6:07 ` Navon John Lukose [this message]
2026-12-02 10:01 ` R: " Noemi Calonego
2026-12-02 14:56 ` Navon John Lukose
2026-12-02 15:00 ` R: " Noemi Calonego
2026-12-02 16:35 ` Navon John Lukose
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202060745.1395600-1-navonjohnlukose@gmail.com \
--to=navonjohnlukose@gmail.com \
--cc=emmanuel.grumbach@intel.com \
--cc=helgaas@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mpearson-lenovo@squebb.ca \
--cc=nika@nikableh.moe \
--cc=noemicalonego@live.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox