From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.179 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796191675; b=KoX92mUd346wdehZ50hLeC12nUeHkCvctWoeeKvcLjIt0bTsuwSWw+/pfe8891xf3sEQ LYZnk967McZae5hwAiLW7Gdu44FIFE+FJGrt6zE/cV9lZ8+L/l7ecfavq3Lxnx2Q0qAWV e5PFVkVzWdS3c+lN8bk5/tMbXW9Y4xOvy949F8ug3kEvP44hCpqHfbVJ6J5BWkkrQrTK3 Dxe9xXABm5QtCdlDzLjdqGa1Q8cmT2g0NrjJkIRnrM29rre8QF2anUZDHB9tnk5StGY/f 1ZxMV4+UAtH/HGGwRQ0DwQzTvKyY1G+7XBz5d6uy/b+QfDVZvLV0ceBFjVu/WIqzH5g== 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=GkEt6sdfABcXfJ1vJpnxjQuZiCgKGaodetlUhnSo7n9Vp7WMwQ33YQc1A0jW9iqum9/G OTrJU7DSUQJJ4lS29dMyw3I/S31w1PBj3oGivgjzqDpjyrFqvPtQtgklzDI8vx5y9OsN0 gbVGUJqJQ76Ivkc8vfUT7WkwRgw6jWsC8sYoDIJpQR9tCg6eR+xUHxGV/komV7rlpXRsZ 5mq4ynAV+wX5sCaSbIZIdJDJ5I/r+FvDhS0hY6NUfe49ns4a0HJZuJEiQfm5VFI6s3yfQ E0cGVXkUeJSXNNt9UCk+7dEcJdZaOhiNrn/eFwGWDF1qP7zGZh/DojP4bOqA7L20Cng== 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.179 Received: from mail-dy1-f179.google.com (mail-dy1-f179.google.com [74.125.82.179]) (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 B30B7606A329 for ; Wed, 2 Dec 2026 06:07:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B30B7606A329 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-f179.google.com with SMTP id 5a478bee46e88-386c34f07ecso1258257eec.3 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=JiP+ACMQ2eRRqIVuvNZRFipmnyqWV2aedmNpmsbFpSMIqFwOIkts1NEMYOas8vfE3D A/EdtBEBIpKqoZfBJheUyXbC7buBOvL6ZqtP0pxTgEGoIt0bV/flVjs/D5amjXjCyWCp GxTRjLc8gXaEbtoWTeAp1Bddr2/idLT0cIAgFKWaMjy1wTo5yYDopniqZQ8ovcHdeWtn xOtAGAsd+H5IkM++mmMQb9wXRrD4+HuXfiPx6R2Zpf2AGW3Sq/+/XVsnHDAa4h8CCIbx LHhj3JPGPSD78aSIzeZ+DlDX0Jnd5iBdLfz5Q5UnAplurGzoFjb2OROrQLXznEeYq1r4 gOWQ== X-Forwarded-Encrypted: i=1; AL+hErFHPg/nk7xJwOtx/s0vzYcrhgq5wpY8ohk07QA7lIT0dsqA6u/7xcbZuXDJtdcvHEunkXQ7C6E4AOFaiAg=@vger.kernel.org X-Gm-Message-State: APuU4Z8a5zS+uN0yxPWIxKTt4JfYk+s5uXWlHqxt5+xHYqFS+J3hg3ZU 4ayZ8gUXqAiHKUCGNMkO5kxqkwvYuynXeshdNoEmFzTDf7xxMlyzYWfJ X-Gm-Gg: AZFdTZevHh/r/XcZ9quiBi7DmIM0vytlkRif/R59B+MW1MnN4BjH1Pjpj+LjHUgVYTU jZ/YDgGBaB/MBBXdU3Iz6qpKEJ8CZ/AiJ/aKuy57VbjVgnVi9Vq4/xrG9WQ0zvC4ou28GjGto3j 9gaoVzlSCahUEoq39pWTltqCYnrhZW+XNvGvSJesgom2gHecPbDSI5fRKSS4EB/G0cVUhj5Up/q nH2G3h0B9EuK3aNrkKQ2pIW1UJtEW+pcxIp0tB+8wrC4gcaVmGWaclsPzsrUh+ndiTeFU/u3OGj OoAFPGJk4tq+GY5vKuIXXadd2YpSMrrJAb2Uo6/5s2bgc+AO9RW/O/qBiydxWzLsiBwpfhv5lCF M7frZaN2xYqJ470EOFZWSQZLYrsB5RvvqupQh+LFe7XbzqRlB9wetYzsrwu9ICry2uJbmX9AE1K KeinoZ8vv3yweZDK/0c2wo/xThbRu2Ab+ruY6Yk8HXBUme+ez/r7ZjJQ1yR2I2QENESx9G9MIhb Ps0NbHVwIsAYgfPS+ePNzrirDMgZbL9tXclMtETE+SLPIuQqQ3VG2ofJwa+3GBdCB39Uq6m7nxg 7CdgNqhQHTroYviNhEPAbQiJckNyicS18NtlT9naX2eijf5itzBkb6s3HnmYMZln5WPgB5Q+2i8 w+vDXovqHRnCm3Pwgwq/flO4tS5GAmV7TyrxD4v3BMCvDxAssZ94j+wwAMdXW3bZ6iPT6ZMV841 rMMsc1ctFxqvDpbOODg4vouqQJso6JpD8ZRSJZqwZAhJ+LlyAGqrSCiMuunrWv3JkVxfskzYpl 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-kernel@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