Public bug reported:

[Impact]
Dell and HP systems with an onboard Intel I219 ethernet (e1000e driver)
on Meteor Lake or newer fail to enter S0ix hardware sleep during s2idle
suspend. The screen, fan, and power LED turn off, but the CPU never
reaches SLP_S0. Hits 100% on the affected systems. Seen with I219 IDs
8086:550a, 550e, 57a0, 57a1 and 57b3.

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

The CPU reaches C10, but the onboard GbE IP never power gates while K1
is enabled.

S0ix broke after upstream commit 578294b8b60d ("e1000e: Reconfigure PLL
clock gate timeout and re-enable K1 on Meteor Lake") turned K1 back on
for Meteor Lake and newer.

The first fix for this bug added one Dell system to disable_k1_list.
This follow-up adds the other affected systems we tested.

[Fix]
Add DMI vendor + product name entries to disable_k1_list in the e1000e
driver, so K1 stays off by default on these systems. The list now covers
10 more Dell product lines and 3 HP product families (ZBook, EliteBook,
EliteDesk). The HP entries match the product family, so screen size
variants are covered. Fixes commit 578294b8b60d (v7.2).

This follows the earlier patch for this bug (already Fix Committed for
Resolute and Stonking).

Follow-up patch, under review on intel-wired-lan, not merged yet:
https://lore.kernel.org/intel-wired-lan/[email protected]/

[Test Plan]
On each added system:
1. $ sudo cat /sys/kernel/debug/pmc_core/slp_s0_residency_usec
2. $ for i in $(seq 1 3); do sudo rtcwake -m mem -s 20; sleep 5; done
3. $ sudo cat /sys/kernel/debug/pmc_core/slp_s0_residency_usec
$ sudo dmesg | grep "CPU did not enter SLP_S0"

Without patch: residency stays the same and dmesg prints
"CPU did not enter SLP_S0!!!" on every cycle.
With patch: residency goes up on every cycle and no SLP_S0 error shows
up in dmesg.

Before the patch, each system was also run with K1 off to confirm the
cause:
$ sudo ethtool --set-priv-flags <iface> disable-k1 on
All cycles then reached SLP_S0.

[Where problems could occur]
Could break e1000e power state handling on the matched Dell and HP
systems.

The change only adds DMI matches to disable_k1_list, and only applies to
mac.type >= e1000_pch_mtp. With K1 off, the PHY link does not use the
K1 power-saving state while awake, so ethernet link power use goes up a
little. If a DMI product string is too broad, other machines in that
family also lose K1 when awake. The HP entries are family-wide, so this
is the most likely place for it. If a string is wrong or misses a BIOS
variant, that system still fails to enter S0ix on suspend.

[Other Info]
Follow-up to the first patch in this bug (LP: #2174973), not a new
issue. The first patch is in Resolute 7.0.0-45.45 and Stonking
7.3.0-12.13 proposed kernels.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Resolute)
     Importance: Undecided
     Assignee: AceLan Kao (acelankao)
         Status: In Progress

** Affects: linux (Ubuntu Stonking)
     Importance: Undecided
     Assignee: AceLan Kao (acelankao)
         Status: In Progress

** Affects: linux (Ubuntu Tenacious)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Tenacious)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Resolute)
       Status: New => In Progress

** Changed in: linux (Ubuntu Stonking)
       Status: New => In Progress

** Changed in: linux (Ubuntu Resolute)
     Assignee: (unassigned) => AceLan Kao (acelankao)

** Changed in: linux (Ubuntu Stonking)
     Assignee: (unassigned) => AceLan Kao (acelankao)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2176143

Title:
  Dell and HP systems with Intel I219 ethernet fail to enter S0ix on
  suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2176143/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to