Like the Dell Pro 5 Micro P5M1260 added by the previous patch, other
systems with an I219 on MTL or later no longer enter S0ix during
s2idle since commit 578294b8b60d ("e1000e: Reconfigure PLL clock gate timeout 
and re-enable K1 on Meteor Lake").
Every suspend ends with:

  intel_pmc_core INT33A1:00: CPU did not enter SLP_S0!!! (S0ix cnt=0)

Each unit ran 3 s2idle cycles on kernel 7.0 with the default K1
setting and, if all of them failed to reach SLP_S0, 3 more with
disable-k1 on. On the following systems the default cycles never
reached SLP_S0 and the disable-k1 cycles all did:

  Dell Pro 14 PC14250                       [8086:550a, 57a0]
  Dell Pro 3 14 P314260                     [8086:57b3]
  Dell Pro 3 16 P316260                     [8086:57b3]
  Dell Pro 5 14 P514260                     [8086:57b3]
  Dell Pro 5 16 P516260                     [8086:57b3]
  Dell Pro Max 14 MC14250                   [8086:57a0]
  Dell Pro Max 16 MC16250                   [8086:550a]
  Dell Pro Precision 5 14 PW514261          [8086:57b3]
  Dell Pro Precision 5 14S PW514260         [8086:57b3]
  Dell Pro Precision 5 16S PW516260         [8086:57b3]
  Dell Pro Rugged 10 Tablet RA00260         [8086:550e]
  HP ZBook 8 G1i (14/16 inch)               [8086:57a0, 57a1]
  HP EliteBook 6 G1i (13.3/14 inch)         [8086:57a0]
  HP EliteDesk 8 Mini G2i                   [8086:57b3]

Add these systems, matched by DMI vendor and product name, to
disable_k1_list so K1 is disabled by default. The HP entries match
the product family, which covers the screen size variants.

Cc: [email protected]
Fixes: 578294b8b60d ("e1000e: Reconfigure PLL clock gate timeout and re-enable 
K1 on Meteor Lake")
Signed-off-by: Chia-Lin Kao (AceLan) <[email protected]>
---
 drivers/net/ethernet/intel/e1000e/netdev.c | 98 ++++++++++++++++++++++
 1 file changed, 98 insertions(+)

diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c 
b/drivers/net/ethernet/intel/e1000e/netdev.c
index a8f0d3c0fd750..319c7a44f5a53 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -80,6 +80,104 @@ static const struct dmi_system_id disable_k1_list[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro 5 Micro P5M1260"),
                },
        },
+       {
+               .ident = "Dell Pro 14 PC14250",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro 14 PC14250"),
+               },
+       },
+       {
+               .ident = "Dell Pro 3 14 P314260",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro 3 14 P314260"),
+               },
+       },
+       {
+               .ident = "Dell Pro 3 16 P316260",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro 3 16 P316260"),
+               },
+       },
+       {
+               .ident = "Dell Pro 5 14 P514260",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro 5 14 P514260"),
+               },
+       },
+       {
+               .ident = "Dell Pro 5 16 P516260",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro 5 16 P516260"),
+               },
+       },
+       {
+               .ident = "Dell Pro Max 14 MC14250",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Max 14 MC14250"),
+               },
+       },
+       {
+               .ident = "Dell Pro Max 16 MC16250",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Max 16 MC16250"),
+               },
+       },
+       {
+               .ident = "Dell Pro Precision 5 14 PW514261",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Precision 5 14 
PW514261"),
+               },
+       },
+       {
+               .ident = "Dell Pro Precision 5 14S PW514260",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Precision 5 14S 
PW514260"),
+               },
+       },
+       {
+               .ident = "Dell Pro Precision 5 16S PW516260",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Precision 5 16S 
PW516260"),
+               },
+       },
+       {
+               .ident = "Dell Pro Rugged 10 Tablet RA00260",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Rugged 10 Tablet 
RA00260"),
+               },
+       },
+       {
+               .ident = "HP ZBook 8 G1i",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "HP ZBook 8 G1i"),
+               },
+       },
+       {
+               .ident = "HP EliteBook 6 G1i",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteBook 6 G1i"),
+               },
+       },
+       {
+               .ident = "HP EliteDesk 8 Mini G2i",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteDesk 8 Mini G2i"),
+               },
+       },
        {}
 };
 
-- 
2.53.0

Reply via email to