mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/1] PCI: Disable D3cold for Killer BE200-family WiFi on MSI Claw A1M
@ 2026-10-25 23:18 Denis Benato
  2026-10-25 23:18 ` [PATCH 1/1] " Denis Benato
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Benato @ 2026-10-25 23:18 UTC (permalink / raw)
  To: linux-pci
  Cc: bhelgaas, linux-wireless, miriam.rachel.korenblit,
	emmanuel.grumbach, linux-kernel, kernel, Denis Benato

Hi all,

The MSI Claw A1M is an Intel Core Ultra (Meteor Lake-H) handheld gaming
PC carrying a Killer BE1750 WiFi card (Intel BE200 silicon, PCI
8086:272b, subsystem Rivet Networks 1a56:1774) behind root port 00:1c.0.

During s2idle the platform removes auxiliary slot power from the card
(D3cold). On resume the PCIe link fails to retrain:

  pcieport 0000:00:1c.0: Data Link Layer Link Active not set in 100 msec

and the card reads back all-ones from every register: iwlwifi dumps its
complete register state as 0xffffffff and the device disappears from the
bus, so the machine has to be power-cycled. This is the resume half of
kernel Bugzilla 220223; the detection side of that bug was addressed in
commit 224476613c84 ("wifi: iwlwifi: if scratch is ~0U, consider it a
failure"), but the recovery path still does not bring the card back up.

Keeping the card in D3hot with the PCIe link in L1.2 during system sleep
(not letting it fall to D3cold) makes suspend and resume work reliably:
the card survives every cycle and NetworkManager reconnects without errors.
The SoC still reaches S0ix during the sleep; measured with pmc_core
slp_s0_residency_usec, a 241 s timed suspend accumulated 239.5s of
S0ix residency (99.4%) in this configuration, and the fix is independent
of the platform's ASPM configuration.

Patch 1 adds a DMI-scoped quirk disabling D3cold for the BE200-family
device on this board (pci_d3cold_disable()). It mirrors the workaround
distributions already ship as a udev rule for the AX200/AX210
(8086:2725), which suffers from the same class of failure; doing it in
the kernel removes the need for userspace workarounds. I kept the quirk
DMI-scoped to the Claw so that D3cold behavior is unchanged for this
card family on platforms where it works.

Testing: MSI Claw A1M, BIOS E1T41IMS.10D, kernel next-20261023. Multiple
suspend/resume cycles with an RTC-timed wake (240 s). Without the quirk
the card is lost on the first resume (all-ones register dumps, "Data
Link Layer Link Active not set in 100 msec"); with the quirk it survives
every cycle, reconnects, and d3cold_allowed remains 0 across resume.
No AER or pcieport errors are logged in the resume window.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=220223

Denis Benato (1):
  PCI: Disable D3cold for Killer BE200-family WiFi on MSI Claw A1M

 drivers/pci/quirks.c | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

-- 
2.55.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-25 23:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-25 23:18 [PATCH 0/1] PCI: Disable D3cold for Killer BE200-family WiFi on MSI Claw A1M Denis Benato
2026-10-25 23:18 ` [PATCH 1/1] " Denis Benato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®