Skip to contentSkip to conversation

wifi: ath11k: apply existing PM quirk to ThinkPad P14s Gen 5 AMD

PATCH Superseded Kyle Farnung 1 participant 2 messages Mar 31

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: ath11k: apply existing PM quirk to ThinkPad P14s Gen 5 AMD

Some ThinkPad P14s Gen 5 AMD systems experience suspend/resume reliability issues similar to those reported in [1]. These platforms were not previously included in the ath11k PM quirk table.

Add DMI matches for product IDs 21ME and 21MF to apply the existing ATH11K_PM_WOW override, improving suspend/resume behavior on these systems.

Tested on a ThinkPad P14s Gen 5 AMD (21ME) running 6.19.9.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=219196
[2] https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-5-type-21me-21mf/

Fixes ce8669a27016 ("wifi: ath11k: determine PM policy based on machine model")
---
 drivers/net/wireless/ath/ath11k/core.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/net/wireless/ath/ath11k/core.c +14 -0
index 3f6f4db5b7ee1aba79fd7526e5d59d068e0f4a2e..21d366224e75904feeae6cb9c93d9ef692d127fe 100644
@@ -1041,6 +1041,20 @@ static const struct dmi_system_id ath11k_pm_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "21D5"),
 		},
 	},
+	{
+		.driver_data = (void *)ATH11K_PM_WOW,
+		.matches = { /* P14s G5 AMD #1 */
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "21ME"),
+		},
+	},
+	{
+		.driver_data = (void *)ATH11K_PM_WOW,
+		.matches = { /* P14s G5 AMD #2 */
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "21MF"),
+		},
+	},
 	{}
 };
 

---
base-commit: dbd94b9831bc52a1efb7ff3de841ffc3457428ce
change-id: 20260330-p14s-pm-quirk-0a51ba19235f

Best regards,

Signature · 1 line
Kyle Farnung <[email protected]>
#1 lore raw
Quoted 53 lines · On Mon, Mar 30, 2026 at 11:18 PM Kyle Farnung via B4 Relay…

From: Kyle Farnung <[email protected]>

Some ThinkPad P14s Gen 5 AMD systems experience suspend/resume reliability issues similar to those reported in [1]. These platforms were not previously included in the ath11k PM quirk table.

Add DMI matches for product IDs 21ME and 21MF to apply the existing ATH11K_PM_WOW override, improving suspend/resume behavior on these systems.

Tested on a ThinkPad P14s Gen 5 AMD (21ME) running 6.19.9.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=219196
[2] https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-5-type-21me-21mf/

Fixes ce8669a27016 ("wifi: ath11k: determine PM policy based on machine model")
---
 drivers/net/wireless/ath/ath11k/core.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/net/wireless/ath/ath11k/core.c +14 -1
index 3f6f4db5b7ee1aba79fd7526e5d59d068e0f4a2e..21d366224e75904feeae6cb9c93d9ef692d127fe 100644
@@ -1041,6 +1041,20 @@ static const struct dmi_system_id ath11k_pm_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "21D5"),
                },
        },
+       {
+               .driver_data = (void *)ATH11K_PM_WOW,
+               .matches = { /* P14s G5 AMD #1 */
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21ME"),
+               },
+       },
+       {
+               .driver_data = (void *)ATH11K_PM_WOW,
+               .matches = { /* P14s G5 AMD #2 */
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21MF"),
+               },
+       },
        {}
 };
 
 
---

base-commit: dbd94b9831bc52a1efb7ff3de841ffc3457428ce
change-id: 20260330-p14s-pm-quirk-0a51ba19235f

Quoted 5 lines

Best regards,
--
Kyle Farnung <[email protected]>

Apologies to everyone, I realized that I lost my CC list in the sending process. I wasn't sure what the right fix was so I ended up posting a v2 patch [1] instead.

[1] https://lore.kernel.org/linux-wireless/[email protected]/

Thanks,
Kyle