From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.228 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792970310; b=fIpdT+E0fG/YadUE5j87KPiLuJ5ESiuq8etlsPjW+EeDTCydFNHwvnoi/AL8I/fMsZCk ABrMq+Q6WKaNnnxY2mfkSmHmoRKiBkNei6rP2Wno++JgnjOznYJ7NWM/pF3xiGC3xo+2c C2JC7IMgjHFUhJv01FFHz8HhAt4LppkYfa8SotOsd8PWY2UaKsYW7YLRXp6seKl3xhRFP XgrwJURC4xz8/raAftLzRQXlsxGADRk+ws9jH+phx7WUu1AxQoLiDXVywa4SJmLTDYTNw o70QntdJukutHsJzzRvoOMbNHGjoakgnV2T5bmGbpBARcl6JO406rUi5N2eJ5WNo7cQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792970310; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=ehMGySnrqaN0YWzDWec38aBOi7Rp4XTn6bNu22+y/ms=; b=PPRr+5mpAssRjGbGqAfG2GBT/+ZTcX5rl6VGl3kCkS0QxRb9fXJPGVD8AdcQ5NHG1e2d Yxsdp3wQ35LUD57aGGhAArWJQkiEj06+c/39MKzH6vJC5M9ezbHsZbT9vTcT8s7PfFJpZ 65DkJde+In5TC2dBHve6JjNOZ9Jbm/a6KqVpo6SgabQqCZDEse8UjOWuHZkMHDn7JgmcW sbHj3kfltUZQlnXmeZy5aFNp8dSf6+lm1mvvfD7x/PM3TavlcZcv2qfCyTNpxNSouGfyh Elo0FDAiGOTInrgNgWxrIYVPvMVU0h8UF347bha4CLrynX1IvE9uWM43AJQtGSzeBQQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=AiVfIe45; arc=none smtp.remote-ip=91.218.175.228 Received: from mta0.migadu.com (out-228.mta0.migadu.com [91.218.175.228]) (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 C7D97606A31E for ; Sun, 25 Oct 2026 23:18:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C7D97606A31E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=AiVfIe45 X-Envelope-To: linux-wireless@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=chKyVn8X74QzrmO8tV7hinMLk5vYZWfhs3dWy8GlRfo=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1792970302; v=1; x=1793575102; b=AiVfIe455Tajto/YTxkJMROq/5ftZS9pEw4Qqz5UzDQkPYouRyeO+T61IzwiNUxeust9tjET z2jUnZED1/78sDCNdGRlbA+7qQ9dOBxRdKdnWkyorYvPapCBkTNBf+50F3GUa/SdlpZIrc+uvzZ KWGC7Rwf6dFmR1mAT/b4cly0= X-Envelope-To: linux-wireless@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 28900203f15348be; Sun, 25 Oct 2026 23:18:22 +0000 X-Mizu-Trace-ID: 28900203f15348be X-Migadu-Flow: FLOW_OUT From: Denis Benato To: linux-pci@vger.kernel.org Cc: bhelgaas@google.com, linux-wireless@vger.kernel.org, miriam.rachel.korenblit@intel.com, emmanuel.grumbach@intel.com, linux-kernel@vger.kernel.org, kernel@lists.opengamingcollective.org, Denis Benato Subject: [PATCH 1/1] PCI: Disable D3cold for Killer BE200-family WiFi on MSI Claw A1M Date: Sun, 25 Oct 2026 23:18:13 +0000 Message-ID: <20261025231813.128649-2-denis.benato@linux.dev> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261025231813.128649-1-denis.benato@linux.dev> References: <20261025231813.128649-1-denis.benato@linux.dev> X-Mailing-List: linux-wireless@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 During s2idle the platform removes power from the WiFi slot (D3cold). The Killer BE1750 (Intel BE200, 8086:272b) installed in the MSI Claw A1M fails to resume from that state: the PCIe link does not retrain ("pcieport 0000:00:1c.0: Data Link Layer Link Active not set in 100 msec") and every device register reads back as 0xffffffff, so the card disappears from the bus and the machine must be power-cycled. Keeping the device in D3hot with the link in L1.2 during system sleep makes suspend and resume work reliably: the package still reaches >99% S0ix residency and the card survives every cycle (verified over multiple suspend/resume tests with an RTC-timed wake). Disable D3cold for the BE200-family device on this board. This mirrors the udev-level workaround distributions already ship for the AX200/AX210 (8086:2725), which suffers from the same class of problem, and moves it into the kernel where it belongs. Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220223 Signed-off-by: Denis Benato --- drivers/pci/quirks.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 7572b358b50f..60156e6c3e49 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -6593,3 +6593,24 @@ static void pci_mask_replay_timer_timeout(struct pci_dev *pdev) DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_GLI, 0x9750, pci_mask_replay_timer_timeout); DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_GLI, 0x9755, pci_mask_replay_timer_timeout); #endif + +/* + * MSI Claw A1M: during s2idle the platform removes power from the WiFi slot + * (D3cold). The Killer BE1750 (Intel BE200, 8086:272b) fails to resume from + * that state: the PCIe link does not retrain ("Data Link Layer Link Active + * not set in 100 msec") and every device register reads back as 0xffffffff, + * so the card disappears from the bus and the machine must be power-cycled. + * + * Keeping the device in D3hot with the link in L1.2 during system sleep makes + * suspend and resume work reliably: the package still reaches >99% S0ix + * residency and the card survives. + */ +static void quirk_msi_claw_be200_d3cold(struct pci_dev *pdev) +{ + if (!dmi_match(DMI_BOARD_NAME, "MS-1T41")) + return; + + pci_d3cold_disable(pdev); + pci_info(pdev, "disabling D3cold: slot power removal during s2idle prevents resume on this system"); +} +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x272b, quirk_msi_claw_be200_d3cold); -- 2.55.0