** Description changed:

  [Summary]
- On Dell Pro 3 14 P314260 (Intel PTL, SKU 0EA3, BIOS 2.1.6) running 
7.0.0-44-generic, the S0ix
- residency counters exposed by intel_pmc_core are frozen:
+ The machine failed on the OEM SRU job 
"cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019",
+ build #4 
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019/4/),
+ finished UNSTABLE with 5 passed / 3 failed:
  
-   /sys/kernel/debug/pmc_core/slp_s0_residency_usec   does not change across a 
suspend
-   /sys/kernel/debug/pmc_core/substate_residencies    S0i2.x does not change 
either
+   s3: Expected /sys/kernel/debug/pmc_core/slp_s0_residency_usec to increase 
from 0, got 0
+       (S2idleNotDeepest, CRITICAL)
+   LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
+   PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, or 
early wake event
+       detected
  
- while the platform demonstrably does enter a deep package state during the 
same suspend:
- Package C10 advances by 93-99 % of the requested sleep time, and
- /sys/kernel/debug/suspend_stats reports success:1 fail:0 with one normal
- "PM: suspend entry (s2idle)" / "PM: suspend exit" pair.
+ The machine does not hang: it enters s2idle, wakes from the RTC wakeup source 
(PNP0B00:00) and
+ returns to the desktop by itself, so from the outside the suspend looks fine 
and only the test
+ assertions fail.
  
- On 6.17.0-1028-oem the same machine reports all three counters consistently, 
so this is a 7.0
- regression in the S0ix/PMC reporting rather than a suspend regression. It 
breaks certification
- because the suspend test asserts exactly on slp_s0_residency_usec.
+ After debugging, the platform really does reach deep sleep: Package C10 
advances by 93-99 % of the
+ requested sleep time on 7.0.0-44. What is broken is the S0ix accounting: 
slp_s0_residency_usec and
+ the S0i2.x substate counters stay frozen at the value they had when the 
kernel booted, while the
+ same machine and userspace on 6.17.0-1028-oem report all three counters 
consistently. So this is a
+ 7.0 regression in the PMC/S0ix reporting (intel_pmc_core / 
intel_pmc_core_pltdrv) rather than a
+ failure to suspend, and the certification test fails on a metric that no 
longer updates.
  
  [Steps to Reproduce]
- 1. Install Ubuntu 24.04.4 LTS (noble) OEM image, boot 7.0.0-44-generic.
- 2. Wait until /proc/uptime >= 110 s (measuring earlier than ~100 s after boot 
gives false
-    results on any kernel: devices are still initialising).
- 3. Run a suspend cycle and read the counters as root:
+ 1. Install the OEM image used by the certification lab for this platform: 
Ubuntu 24.04.4 LTS
+    (noble) OEM image, build "somerville-noble-oem-24.04d-20260701-98". This 
is an OEM image
+    (OEM metapackages preinstalled, 24.04.4 base), not the stock/GA desktop 
image. The kernel under
+    test, 7.0.0-44-generic, comes in through the dist-upgrade of that image.
+ 2. Run the full OEM SRU suite for noble (the run that failed). The suspend 
test alone also shows
+    the frozen counter, so a specific run is enough to observe the symptom, 
but the full-suite run
+    is where LongSuspend and PmDevicesFailedToSuspend appear as well.
+ 3. Observe the suspend test result on the machine:
+    - S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
+      increase from 0, got 0
+    - LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
+    - PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
+      detected
+    The machine comes back from suspend normally (wakeup source PNP0B00:00, 
pm-action returned 0);
+    the failure is in what the counters report, not in the wake-up.
  
-      S0=/sys/kernel/debug/pmc_core/slp_s0_residency_usec
-      PC=/sys/kernel/debug/pmc_core/package_cstate_show
-      SUB=/sys/kernel/debug/pmc_core/substate_residencies
-      a1=$(cat $S0); a2=$(awk '/S0i2.2/{print $2}' $SUB); a3=$(awk '/Package 
C10/{print $4}' $PC)
-      rtcwake -m mem -s 60
-      b1=$(cat $S0); b2=$(awk '/S0i2.2/{print $2}' $SUB); b3=$(awk '/Package 
C10/{print $4}' $PC)
-      echo "s0=$((b1-a1)) s0i2.2=$((b2-a2)) c10=$((b3-a3))"
-      cat /sys/kernel/debug/suspend_stats
- 
- 4. Repeat on 6.17.0-1028-oem (installed side by side, selected with
-    grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux 
6.17.0-1028-oem').
+ [Affected Machines]
+ 202606-39019 - Dell Inc. Dell Pro 3 14 P314260 (SKU 0EA3, BIOS 2.1.6)
+ C3: https://certification.canonical.com/hardware/202606-39019/
  
  [Expected Result]
- For a 60 s rtcwake cycle, all residency counters increase by roughly the 
sleep time. On
- 6.17.0-1028-oem a 30 s cycle gives s0=25.92 s, S0i2.2=25.91 s, Package 
C10=26.50 s.
+ For a suspend cycle of N seconds, the S0ix residency counters increase by 
roughly N. On
+ 6.17.0-1028-oem a 30 s rtcwake cycle gives slp_s0_residency_usec +25.92 s, 
S0i2.2 +25.91 s and
+ Package C10 +26.50 s, and the suspend test passes.
  
  [Actual Result]
- 7.0.0-44-generic, 60 s cycle (fresh boot, uptime 116 s):
+ 7.0.0-44-generic, 60 s rtcwake cycle (fresh boot, uptime 116 s):
  
    slp_s0_residency_usec: 88420964 -> 88420964   delta 0 us
    S0i2.2               : 88387383 -> 88387383   delta 0 us
    Package C10          : 62298819 -> 122044385  delta 59,745,566 us (59.75 s)
    suspend_stats        : success: 1, fail: 0
-   dmesg                : "PM: suspend entry (s2idle)" ... "PM: suspend exit" 
21.7 s for a 20 s sleep
+   dmesg                : one "PM: suspend entry (s2idle)" / "PM: suspend 
exit" pair
  
- 7.0.0-44-generic, 30 s cycle (uptime 552 s): s0 delta 0, S0i2.2 delta 0,
- Package C10 +27.93 s.
+ 7.0.0-44-generic, 30 s cycle (uptime 552 s): slp_s0 delta 0, S0i2.2
+ delta 0, Package C10 +27.93 s.
  
- The certification test therefore fails with "Expected slp_s0_residency_usec 
to increase from 0,
- got 0" even though the machine suspends and reaches deep package state.
+ In the SRU run the same behaviour shows up as the three failures listed in 
[Steps to Reproduce]:
+ s2idle takes 83 s, the residency counter does not move, and one "Some devices 
failed to suspend,
+ or early wake event detected" is logged.
  
  [Failure Rate]
  100% on 7.0.0-44, 7.0.0-43 (also woke early at 7.5 s) and 7.0.0-14. 0% on 
6.17.0-oem: 11 builds,
  22 measurements (GM image and dist-upgraded image).
  
  [Affected Test Cases]
- Suspend / s2idle S0ix residency test used by the certification SRU run
- ("Expected slp_s0_residency_usec to increase from 0, got 0").
+ S2idleNotDeepest (CRITICAL), LongSuspend (HIGH), PmDevicesFailedToSuspend 
(CRITICAL) - the
+ suspend/s2idle set in the OEM SRU suite.
  
  [Environment]
  Machine:        Dell Inc. Dell Pro 3 14 P314260 (CPU: Intel(R) Core(TM) Ultra 
7 365)
  System SKU:     0EA3
  BIOS:           2.1.6
  OS:             Ubuntu 24.04.4 LTS (noble), amd64
  Image:          OEM 24.04.4 desktop image, build 20260701-98
  Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1, 
noble-updates/security)
  Good kernel:    6.17.0-1028-oem (linux-oem-6.17 6.17.0-1028.28 via meta 
linux-oem-24.04d)
  PMC driver:     intel_pmc_core + intel_pmc_core_pltdrv (same modules present 
in both kernels)
  Suspend mode:   s2idle ("[s2idle]" in /sys/power/mem_sleep)
  
  [Kernel Switch Matrix]
  Same 20 s rtcwake cycle, measured at uptime >= 100 s.
  
    userspace            kernel                              S0ix delta     
entry->exit   result
    GM image             6.17.0-1028-oem                     +16.07 s       
21.5 s        PASS
    GM image             6.17.0-1011/1012/1017/1020/1023/    +15.4..16.4 s  
20.7..22.0 s  PASS (11/11)
                         1024/1025/1028/1030/1032/1033-oem
    dist-upgraded        6.17.0-1011..1033-oem (same 11)     +15.3..16.4 s  
20.7..21.9 s  PASS (11/11)
    dist-upgraded        7.0.0-44-generic                    0              
21.6 s        FAIL
    dist-upgraded        7.0.0-43-generic                    0               
7.5 s        FAIL
    dist-upgraded        7.0.0-14-generic                    0              
20.2 s        FAIL
    dist-upgraded        7.0.0-28-generic                    -              no 
boot       n/a
    dist-upgraded        7.0.0-29-generic                    -              no 
boot       n/a
  
  [Bisect Method]
  Kernels installed side by side from the archive, selected with a one-shot 
grub-reboot entry so a
  bad kernel never becomes the default:
  
    sudo apt-get install -y linux-image-<version>
    sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
    sudo reboot
    # wait for ssh, then wait until /proc/uptime >= 110 before measuring
-   # measure s0 / S0i2.2 / Package C10 around rtcwake -m mem -s <n>
+   S0=/sys/kernel/debug/pmc_core/slp_s0_residency_usec
+   PC=/sys/kernel/debug/pmc_core/package_cstate_show
+   SUB=/sys/kernel/debug/pmc_core/substate_residencies
+   a1=$(cat $S0); a2=$(awk '/S0i2.2/{print $2}' $SUB); a3=$(awk '/Package 
C10/{print $4}' $PC)
+   rtcwake -m mem -s 60
+   b1=$(cat $S0); b2=$(awk '/S0i2.2/{print $2}' $SUB); b3=$(awk '/Package 
C10/{print $4}' $PC)
+   echo "s0=$((b1-a1)) s0i2.2=$((b2-a2)) c10=$((b3-a3))"
  
  [Upgrade Scope]
  The dist-upgrade that introduces 7.0 (2026-12-01 07:04:09, "apt-get -y 
dist-upgrade -q") upgraded
  1126 packages and removed none. Relevant new installs: 
linux-generic-hwe-24.04 7.0.0-44.44~24.04.1
  (linux-image-7.0.0-44-generic and modules) and linux-firmware 
20240318.git3b128b60.0ubuntu3.1 with
  its new split packages.
  
  Only the kernel matters: with that same upgraded userspace all 11
  6.17.0-oem builds pass.
  
  [Isolation Experiments]
  - ISH LTR is not the blocker: PMC0:ISH shows LTR RAW 0x0 / Non-Snoop 0 / 
Snoop 0, and writing 17
    to pmc_core/ltr_ignore (confirmed via LTR_IGNORE: 1 in ltr_show) does not 
change the result.
  - LTR values are identical between 6.17 and 7.0 (aggregated 189440 ns, GbE 
189440 ns, current
    platform 40960 ns), so an LTR-based S0ix veto does not explain it.
- - No device blocks the suspend: suspend_stats shows fail: 0 and 
failed_suspend: 0, dmesg has no
-   "Some devices failed to suspend", and the active wakeup_sources set on 7.0 
is a subset of the
-   6.17 one.
+ - No device blocks the suspend in the manual cycles: suspend_stats fail: 0, 
no "Some devices
+   failed to suspend" in the 20/30/60 s rtcwake runs, and the active 
wakeup_sources set on 7.0 is a
+   subset of the 6.17 one. (The SRU run does log one "failed to suspend, or 
early wake event
+   detected" at uptime 913 s.)
  - PCI 0000:00:0d.3 (USB4 host interface 8086:e434, driver thunderbolt) 
runtime-suspends normally
    on 7.0 (runtime_status=suspended, runtime_suspended_time advancing); it 
only appears active in
    the immediate post-resume snapshot.
  - Package C10 advances for 93-99 % of the sleep time on 7.0, which is the 
decisive evidence that
    the platform itself sleeps deeply and only the S0ix counters are stale.
  
  [Root Cause]
- The platform sleeps correctly; the S0ix residency reporting in the 7.0 PMC 
path does not update
- for this platform. On 7.0 both slp_s0_residency_usec and the S0i2.x substate 
counters stay at the
- value they had when the kernel booted, while Package C10 keeps advancing and 
suspend_stats
- reports successful suspends. On 6.17.0-oem all three counters advance 
consistently.
+ The platform sleeps; the S0ix residency reporting in the 7.0 PMC path does 
not update for this
+ platform. On 7.0 both slp_s0_residency_usec and the S0i2.x substate counters 
stay at the value
+ they had when the kernel booted, while Package C10 keeps advancing and 
suspend_stats reports
+ successful suspends. On 6.17.0-oem all three counters advance consistently.
  
- Note that the hardware counter persists across warm reboots: after the 6.17 
run ended at
+ The hardware counter persists across warm reboots: after the 6.17 run ended at
  slp_s0_residency_usec=88420964, the 7.0 boot started from that same value and 
never moved it,
- which is consistent with a driver-side read that never reaches the live 
register (or reaches a
- register that is not updated on this platform) rather than with a genuinely 
idle platform.
+ which points at a driver-side read that no longer reaches the live register 
(or reaches a register
+ that is not updated on this platform/stepping) rather than at a platform that 
stays awake.
+ 
+ The 83 s s2idle duration and the single "Some devices failed to suspend" in 
the suite run are
+ separate symptoms of the same area; they do not reproduce in the isolated 
rtcwake cycles.
  
  [Proposed Fix / Patch]
  No patch yet. Candidate areas:
- - intel_pmc_core / intel_pmc_core_pltdrv: check which register is read for
-   slp_s0_residency_usec and for the S0i2.x substate counters on PTL in 7.0, 
and compare with the
-   6.17 driver. Either the PTL mapping changed, or the driver reads a latch 
that is only updated
-   on cold boot, or the counters moved to a different register block on this 
stepping.
- - Compare intel_pmc_core debugfs contents on 6.17 vs 7.0 for the same 
platform: 6.17 prints
-   "Substate Residency" rows without the "pmc0" prefix and reports live 
values, 7.0 prints a
-   "pmc0 Substate Residency" header and both counters are static.
+ - intel_pmc_core / intel_pmc_core_pltdrv: check which register is read for 
slp_s0_residency_usec
+   and for the S0i2.x substate counters on PTL in 7.0 and compare with the 
6.17 driver. Either the
+   mapping changed, or the driver reads a latch that is only refreshed on cold 
boot, or the
+   counters moved to a different register block on this stepping.
+ - The debugfs layout changed between the two kernels (6.17 prints the 
substate rows without a
+   "pmc0" prefix and reports live values; 7.0 prints a "pmc0 Substate 
Residency" header and both
+   counters are static), which is a useful pointer for the bisect.
  
  [Verification Plan]
  On the fixed kernel, a 60 s rtcwake cycle at uptime >= 110 s must show 
slp_s0_residency_usec and
  S0i2.2 growing by roughly the sleep time (as 6.17.0-oem does), Package C10 
growing by the same
- amount, suspend_stats success/fail = 1/0, and the certification suspend test 
must pass. Keep the
- 11 x 6.17.0-oem rows as the control group.
+ amount, suspend_stats success/fail = 1/0, and the OEM SRU suspend tests 
(S2idleNotDeepest,
+ LongSuspend, PmDevicesFailedToSuspend) must pass. Keep the 11 x 6.17.0-oem 
rows as the control
+ group.
  
  [Additional Information]
  - Attachments: switch matrix, apt history/firmware inventory, full apport 
report from the failing
-   kernel, raw debug dumps for both kernels, and the measurement log.
+   kernel, raw pmc_core/suspend_stats/dmesg dumps for both kernels, and the 
measurement log.
  - 7.0.0-28 and 7.0.0-29 did not come back after reboot on this machine (no 
SSH, no ping, power
    button required). Not yet confirmed through a serial console.
  - 7.0.0 builds published in noble-updates/security at the time of testing: 
14, 28, 29, 30, 31, 34,
    38, 42, 43, 44.
  
  [Worklog]
  2026-12-02: filed from the certification SRU regression analysis, then 
corrected after deeper
  instrumentation: the suspend itself is fine, the S0ix counters are the 
regression.
  
  [Stage]
  Right after it happened

** Description changed:

  [Summary]
  The machine failed on the OEM SRU job 
"cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019",
  build #4 
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019/4/),
  finished UNSTABLE with 5 passed / 3 failed:
  
    s3: Expected /sys/kernel/debug/pmc_core/slp_s0_residency_usec to increase 
from 0, got 0
        (S2idleNotDeepest, CRITICAL)
    LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
    PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, or 
early wake event
        detected
  
  The machine does not hang: it enters s2idle, wakes from the RTC wakeup source 
(PNP0B00:00) and
  returns to the desktop by itself, so from the outside the suspend looks fine 
and only the test
  assertions fail.
  
  After debugging, the platform really does reach deep sleep: Package C10 
advances by 93-99 % of the
  requested sleep time on 7.0.0-44. What is broken is the S0ix accounting: 
slp_s0_residency_usec and
  the S0i2.x substate counters stay frozen at the value they had when the 
kernel booted, while the
  same machine and userspace on 6.17.0-1028-oem report all three counters 
consistently. So this is a
  7.0 regression in the PMC/S0ix reporting (intel_pmc_core / 
intel_pmc_core_pltdrv) rather than a
  failure to suspend, and the certification test fails on a metric that no 
longer updates.
  
  [Steps to Reproduce]
  1. Install the OEM image used by the certification lab for this platform: 
Ubuntu 24.04.4 LTS
     (noble) OEM image, build "somerville-noble-oem-24.04d-20260701-98". This 
is an OEM image
     (OEM metapackages preinstalled, 24.04.4 base), not the stock/GA desktop 
image. The kernel under
     test, 7.0.0-44-generic, comes in through the dist-upgrade of that image.
  2. Run the full OEM SRU suite for noble (the run that failed). The suspend 
test alone also shows
     the frozen counter, so a specific run is enough to observe the symptom, 
but the full-suite run
     is where LongSuspend and PmDevicesFailedToSuspend appear as well.
  3. Observe the suspend test result on the machine:
     - S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
       increase from 0, got 0
     - LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
     - PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
       detected
     The machine comes back from suspend normally (wakeup source PNP0B00:00, 
pm-action returned 0);
     the failure is in what the counters report, not in the wake-up.
  
  [Affected Machines]
  202606-39019 - Dell Inc. Dell Pro 3 14 P314260 (SKU 0EA3, BIOS 2.1.6)
  C3: https://certification.canonical.com/hardware/202606-39019/
  
  [Expected Result]
  For a suspend cycle of N seconds, the S0ix residency counters increase by 
roughly N. On
  6.17.0-1028-oem a 30 s rtcwake cycle gives slp_s0_residency_usec +25.92 s, 
S0i2.2 +25.91 s and
  Package C10 +26.50 s, and the suspend test passes.
  
  [Actual Result]
  7.0.0-44-generic, 60 s rtcwake cycle (fresh boot, uptime 116 s):
  
    slp_s0_residency_usec: 88420964 -> 88420964   delta 0 us
    S0i2.2               : 88387383 -> 88387383   delta 0 us
    Package C10          : 62298819 -> 122044385  delta 59,745,566 us (59.75 s)
    suspend_stats        : success: 1, fail: 0
    dmesg                : one "PM: suspend entry (s2idle)" / "PM: suspend 
exit" pair
  
  7.0.0-44-generic, 30 s cycle (uptime 552 s): slp_s0 delta 0, S0i2.2
  delta 0, Package C10 +27.93 s.
  
  In the SRU run the same behaviour shows up as the three failures listed in 
[Steps to Reproduce]:
  s2idle takes 83 s, the residency counter does not move, and one "Some devices 
failed to suspend,
  or early wake event detected" is logged.
  
  [Failure Rate]
  100% on 7.0.0-44, 7.0.0-43 (also woke early at 7.5 s) and 7.0.0-14. 0% on 
6.17.0-oem: 11 builds,
  22 measurements (GM image and dist-upgraded image).
  
  [Affected Test Cases]
  S2idleNotDeepest (CRITICAL), LongSuspend (HIGH), PmDevicesFailedToSuspend 
(CRITICAL) - the
  suspend/s2idle set in the OEM SRU suite.
  
  [Environment]
  Machine:        Dell Inc. Dell Pro 3 14 P314260 (CPU: Intel(R) Core(TM) Ultra 
7 365)
  System SKU:     0EA3
  BIOS:           2.1.6
  OS:             Ubuntu 24.04.4 LTS (noble), amd64
  Image:          OEM 24.04.4 desktop image, build 20260701-98
  Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1, 
noble-updates/security)
  Good kernel:    6.17.0-1028-oem (linux-oem-6.17 6.17.0-1028.28 via meta 
linux-oem-24.04d)
  PMC driver:     intel_pmc_core + intel_pmc_core_pltdrv (same modules present 
in both kernels)
  Suspend mode:   s2idle ("[s2idle]" in /sys/power/mem_sleep)
  
  [Kernel Switch Matrix]
  Same 20 s rtcwake cycle, measured at uptime >= 100 s.
  
    userspace            kernel                              S0ix delta     
entry->exit   result
    GM image             6.17.0-1028-oem                     +16.07 s       
21.5 s        PASS
    GM image             6.17.0-1011/1012/1017/1020/1023/    +15.4..16.4 s  
20.7..22.0 s  PASS (11/11)
                         1024/1025/1028/1030/1032/1033-oem
    dist-upgraded        6.17.0-1011..1033-oem (same 11)     +15.3..16.4 s  
20.7..21.9 s  PASS (11/11)
    dist-upgraded        7.0.0-44-generic                    0              
21.6 s        FAIL
    dist-upgraded        7.0.0-43-generic                    0               
7.5 s        FAIL
    dist-upgraded        7.0.0-14-generic                    0              
20.2 s        FAIL
    dist-upgraded        7.0.0-28-generic                    -              no 
boot       n/a
    dist-upgraded        7.0.0-29-generic                    -              no 
boot       n/a
  
  [Bisect Method]
  Kernels installed side by side from the archive, selected with a one-shot 
grub-reboot entry so a
  bad kernel never becomes the default:
  
    sudo apt-get install -y linux-image-<version>
    sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
    sudo reboot
    # wait for ssh, then wait until /proc/uptime >= 110 before measuring
    S0=/sys/kernel/debug/pmc_core/slp_s0_residency_usec
    PC=/sys/kernel/debug/pmc_core/package_cstate_show
    SUB=/sys/kernel/debug/pmc_core/substate_residencies
    a1=$(cat $S0); a2=$(awk '/S0i2.2/{print $2}' $SUB); a3=$(awk '/Package 
C10/{print $4}' $PC)
    rtcwake -m mem -s 60
    b1=$(cat $S0); b2=$(awk '/S0i2.2/{print $2}' $SUB); b3=$(awk '/Package 
C10/{print $4}' $PC)
    echo "s0=$((b1-a1)) s0i2.2=$((b2-a2)) c10=$((b3-a3))"
  
  [Upgrade Scope]
  The dist-upgrade that introduces 7.0 (2026-12-01 07:04:09, "apt-get -y 
dist-upgrade -q") upgraded
  1126 packages and removed none. Relevant new installs: 
linux-generic-hwe-24.04 7.0.0-44.44~24.04.1
  (linux-image-7.0.0-44-generic and modules) and linux-firmware 
20240318.git3b128b60.0ubuntu3.1 with
  its new split packages.
  
  Only the kernel matters: with that same upgraded userspace all 11
  6.17.0-oem builds pass.
  
  [Isolation Experiments]
  - ISH LTR is not the blocker: PMC0:ISH shows LTR RAW 0x0 / Non-Snoop 0 / 
Snoop 0, and writing 17
    to pmc_core/ltr_ignore (confirmed via LTR_IGNORE: 1 in ltr_show) does not 
change the result.
  - LTR values are identical between 6.17 and 7.0 (aggregated 189440 ns, GbE 
189440 ns, current
    platform 40960 ns), so an LTR-based S0ix veto does not explain it.
  - No device blocks the suspend in the manual cycles: suspend_stats fail: 0, 
no "Some devices
    failed to suspend" in the 20/30/60 s rtcwake runs, and the active 
wakeup_sources set on 7.0 is a
    subset of the 6.17 one. (The SRU run does log one "failed to suspend, or 
early wake event
    detected" at uptime 913 s.)
  - PCI 0000:00:0d.3 (USB4 host interface 8086:e434, driver thunderbolt) 
runtime-suspends normally
    on 7.0 (runtime_status=suspended, runtime_suspended_time advancing); it 
only appears active in
    the immediate post-resume snapshot.
  - Package C10 advances for 93-99 % of the sleep time on 7.0, which is the 
decisive evidence that
    the platform itself sleeps deeply and only the S0ix counters are stale.
  
  [Root Cause]
  The platform sleeps; the S0ix residency reporting in the 7.0 PMC path does 
not update for this
  platform. On 7.0 both slp_s0_residency_usec and the S0i2.x substate counters 
stay at the value
  they had when the kernel booted, while Package C10 keeps advancing and 
suspend_stats reports
  successful suspends. On 6.17.0-oem all three counters advance consistently.
  
  The hardware counter persists across warm reboots: after the 6.17 run ended at
  slp_s0_residency_usec=88420964, the 7.0 boot started from that same value and 
never moved it,
  which points at a driver-side read that no longer reaches the live register 
(or reaches a register
  that is not updated on this platform/stepping) rather than at a platform that 
stays awake.
  
  The 83 s s2idle duration and the single "Some devices failed to suspend" in 
the suite run are
  separate symptoms of the same area; they do not reproduce in the isolated 
rtcwake cycles.
  
  [Proposed Fix / Patch]
  No patch yet. Candidate areas:
  - intel_pmc_core / intel_pmc_core_pltdrv: check which register is read for 
slp_s0_residency_usec
    and for the S0i2.x substate counters on PTL in 7.0 and compare with the 
6.17 driver. Either the
    mapping changed, or the driver reads a latch that is only refreshed on cold 
boot, or the
    counters moved to a different register block on this stepping.
  - The debugfs layout changed between the two kernels (6.17 prints the 
substate rows without a
    "pmc0" prefix and reports live values; 7.0 prints a "pmc0 Substate 
Residency" header and both
    counters are static), which is a useful pointer for the bisect.
  
  [Verification Plan]
  On the fixed kernel, a 60 s rtcwake cycle at uptime >= 110 s must show 
slp_s0_residency_usec and
  S0i2.2 growing by roughly the sleep time (as 6.17.0-oem does), Package C10 
growing by the same
  amount, suspend_stats success/fail = 1/0, and the OEM SRU suspend tests 
(S2idleNotDeepest,
  LongSuspend, PmDevicesFailedToSuspend) must pass. Keep the 11 x 6.17.0-oem 
rows as the control
  group.
  
  [Additional Information]
  - Attachments: switch matrix, apt history/firmware inventory, full apport 
report from the failing
    kernel, raw pmc_core/suspend_stats/dmesg dumps for both kernels, and the 
measurement log.
  - 7.0.0-28 and 7.0.0-29 did not come back after reboot on this machine (no 
SSH, no ping, power
    button required). Not yet confirmed through a serial console.
  - 7.0.0 builds published in noble-updates/security at the time of testing: 
14, 28, 29, 30, 31, 34,
    38, 42, 43, 44.
  
  [Worklog]
+ 2026-12-02: this description is the authoritative record; the earlier comment 
that announced the correction is historical (Launchpad comments cannot be 
edited or deleted) and its content is fully folded into [Actual Result], 
[Isolation Experiments] and [Root Cause] above.
+ 
  2026-12-02: filed from the certification SRU regression analysis, then 
corrected after deeper
  instrumentation: the suspend itself is fine, the S0ix counters are the 
regression.
  
  [Stage]
  Right after it happened

** Description changed:

  [Summary]
  The machine failed on the OEM SRU job 
"cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019",
  build #4 
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019/4/),
  finished UNSTABLE with 5 passed / 3 failed:
  
    s3: Expected /sys/kernel/debug/pmc_core/slp_s0_residency_usec to increase 
from 0, got 0
        (S2idleNotDeepest, CRITICAL)
    LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
    PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, or 
early wake event
        detected
  
  The machine does not hang: it enters s2idle, wakes from the RTC wakeup source 
(PNP0B00:00) and
  returns to the desktop by itself, so from the outside the suspend looks fine 
and only the test
  assertions fail.
  
  After debugging, the platform really does reach deep sleep: Package C10 
advances by 93-99 % of the
  requested sleep time on 7.0.0-44. What is broken is the S0ix accounting: 
slp_s0_residency_usec and
  the S0i2.x substate counters stay frozen at the value they had when the 
kernel booted, while the
  same machine and userspace on 6.17.0-1028-oem report all three counters 
consistently. So this is a
  7.0 regression in the PMC/S0ix reporting (intel_pmc_core / 
intel_pmc_core_pltdrv) rather than a
  failure to suspend, and the certification test fails on a metric that no 
longer updates.
  
  [Steps to Reproduce]
  1. Install the OEM image used by the certification lab for this platform: 
Ubuntu 24.04.4 LTS
     (noble) OEM image, build "somerville-noble-oem-24.04d-20260701-98". This 
is an OEM image
     (OEM metapackages preinstalled, 24.04.4 base), not the stock/GA desktop 
image. The kernel under
     test, 7.0.0-44-generic, comes in through the dist-upgrade of that image.
  2. Run the full OEM SRU suite for noble (the run that failed). The suspend 
test alone also shows
     the frozen counter, so a specific run is enough to observe the symptom, 
but the full-suite run
     is where LongSuspend and PmDevicesFailedToSuspend appear as well.
  3. Observe the suspend test result on the machine:
     - S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
       increase from 0, got 0
     - LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
     - PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
       detected
     The machine comes back from suspend normally (wakeup source PNP0B00:00, 
pm-action returned 0);
     the failure is in what the counters report, not in the wake-up.
  
  [Affected Machines]
  202606-39019 - Dell Inc. Dell Pro 3 14 P314260 (SKU 0EA3, BIOS 2.1.6)
  C3: https://certification.canonical.com/hardware/202606-39019/
  
  [Expected Result]
  For a suspend cycle of N seconds, the S0ix residency counters increase by 
roughly N. On
  6.17.0-1028-oem a 30 s rtcwake cycle gives slp_s0_residency_usec +25.92 s, 
S0i2.2 +25.91 s and
  Package C10 +26.50 s, and the suspend test passes.
  
  [Actual Result]
  7.0.0-44-generic, 60 s rtcwake cycle (fresh boot, uptime 116 s):
  
    slp_s0_residency_usec: 88420964 -> 88420964   delta 0 us
    S0i2.2               : 88387383 -> 88387383   delta 0 us
    Package C10          : 62298819 -> 122044385  delta 59,745,566 us (59.75 s)
    suspend_stats        : success: 1, fail: 0
    dmesg                : one "PM: suspend entry (s2idle)" / "PM: suspend 
exit" pair
  
  7.0.0-44-generic, 30 s cycle (uptime 552 s): slp_s0 delta 0, S0i2.2
  delta 0, Package C10 +27.93 s.
  
  In the SRU run the same behaviour shows up as the three failures listed in 
[Steps to Reproduce]:
  s2idle takes 83 s, the residency counter does not move, and one "Some devices 
failed to suspend,
  or early wake event detected" is logged.
  
  [Failure Rate]
  100% on 7.0.0-44, 7.0.0-43 (also woke early at 7.5 s) and 7.0.0-14. 0% on 
6.17.0-oem: 11 builds,
  22 measurements (GM image and dist-upgraded image).
  
  [Affected Test Cases]
  S2idleNotDeepest (CRITICAL), LongSuspend (HIGH), PmDevicesFailedToSuspend 
(CRITICAL) - the
  suspend/s2idle set in the OEM SRU suite.
  
  [Environment]
  Machine:        Dell Inc. Dell Pro 3 14 P314260 (CPU: Intel(R) Core(TM) Ultra 
7 365)
  System SKU:     0EA3
  BIOS:           2.1.6
  OS:             Ubuntu 24.04.4 LTS (noble), amd64
  Image:          OEM 24.04.4 desktop image, build 20260701-98
  Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1, 
noble-updates/security)
  Good kernel:    6.17.0-1028-oem (linux-oem-6.17 6.17.0-1028.28 via meta 
linux-oem-24.04d)
  PMC driver:     intel_pmc_core + intel_pmc_core_pltdrv (same modules present 
in both kernels)
  Suspend mode:   s2idle ("[s2idle]" in /sys/power/mem_sleep)
  
  [Kernel Switch Matrix]
  Same 20 s rtcwake cycle, measured at uptime >= 100 s.
  
    userspace            kernel                              S0ix delta     
entry->exit   result
    GM image             6.17.0-1028-oem                     +16.07 s       
21.5 s        PASS
    GM image             6.17.0-1011/1012/1017/1020/1023/    +15.4..16.4 s  
20.7..22.0 s  PASS (11/11)
                         1024/1025/1028/1030/1032/1033-oem
    dist-upgraded        6.17.0-1011..1033-oem (same 11)     +15.3..16.4 s  
20.7..21.9 s  PASS (11/11)
    dist-upgraded        7.0.0-44-generic                    0              
21.6 s        FAIL
    dist-upgraded        7.0.0-43-generic                    0               
7.5 s        FAIL
    dist-upgraded        7.0.0-14-generic                    0              
20.2 s        FAIL
    dist-upgraded        7.0.0-28-generic                    -              no 
boot       n/a
    dist-upgraded        7.0.0-29-generic                    -              no 
boot       n/a
  
  [Bisect Method]
  Kernels installed side by side from the archive, selected with a one-shot 
grub-reboot entry so a
  bad kernel never becomes the default:
  
    sudo apt-get install -y linux-image-<version>
    sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
    sudo reboot
    # wait for ssh, then wait until /proc/uptime >= 110 before measuring
    S0=/sys/kernel/debug/pmc_core/slp_s0_residency_usec
    PC=/sys/kernel/debug/pmc_core/package_cstate_show
    SUB=/sys/kernel/debug/pmc_core/substate_residencies
    a1=$(cat $S0); a2=$(awk '/S0i2.2/{print $2}' $SUB); a3=$(awk '/Package 
C10/{print $4}' $PC)
    rtcwake -m mem -s 60
    b1=$(cat $S0); b2=$(awk '/S0i2.2/{print $2}' $SUB); b3=$(awk '/Package 
C10/{print $4}' $PC)
    echo "s0=$((b1-a1)) s0i2.2=$((b2-a2)) c10=$((b3-a3))"
  
  [Upgrade Scope]
  The dist-upgrade that introduces 7.0 (2026-12-01 07:04:09, "apt-get -y 
dist-upgrade -q") upgraded
  1126 packages and removed none. Relevant new installs: 
linux-generic-hwe-24.04 7.0.0-44.44~24.04.1
  (linux-image-7.0.0-44-generic and modules) and linux-firmware 
20240318.git3b128b60.0ubuntu3.1 with
  its new split packages.
  
  Only the kernel matters: with that same upgraded userspace all 11
  6.17.0-oem builds pass.
  
  [Isolation Experiments]
  - ISH LTR is not the blocker: PMC0:ISH shows LTR RAW 0x0 / Non-Snoop 0 / 
Snoop 0, and writing 17
    to pmc_core/ltr_ignore (confirmed via LTR_IGNORE: 1 in ltr_show) does not 
change the result.
  - LTR values are identical between 6.17 and 7.0 (aggregated 189440 ns, GbE 
189440 ns, current
    platform 40960 ns), so an LTR-based S0ix veto does not explain it.
  - No device blocks the suspend in the manual cycles: suspend_stats fail: 0, 
no "Some devices
    failed to suspend" in the 20/30/60 s rtcwake runs, and the active 
wakeup_sources set on 7.0 is a
    subset of the 6.17 one. (The SRU run does log one "failed to suspend, or 
early wake event
    detected" at uptime 913 s.)
  - PCI 0000:00:0d.3 (USB4 host interface 8086:e434, driver thunderbolt) 
runtime-suspends normally
    on 7.0 (runtime_status=suspended, runtime_suspended_time advancing); it 
only appears active in
    the immediate post-resume snapshot.
  - Package C10 advances for 93-99 % of the sleep time on 7.0, which is the 
decisive evidence that
    the platform itself sleeps deeply and only the S0ix counters are stale.
  
  [Root Cause]
  The platform sleeps; the S0ix residency reporting in the 7.0 PMC path does 
not update for this
  platform. On 7.0 both slp_s0_residency_usec and the S0i2.x substate counters 
stay at the value
  they had when the kernel booted, while Package C10 keeps advancing and 
suspend_stats reports
  successful suspends. On 6.17.0-oem all three counters advance consistently.
  
  The hardware counter persists across warm reboots: after the 6.17 run ended at
  slp_s0_residency_usec=88420964, the 7.0 boot started from that same value and 
never moved it,
  which points at a driver-side read that no longer reaches the live register 
(or reaches a register
  that is not updated on this platform/stepping) rather than at a platform that 
stays awake.
  
  The 83 s s2idle duration and the single "Some devices failed to suspend" in 
the suite run are
  separate symptoms of the same area; they do not reproduce in the isolated 
rtcwake cycles.
  
  [Proposed Fix / Patch]
  No patch yet. Candidate areas:
  - intel_pmc_core / intel_pmc_core_pltdrv: check which register is read for 
slp_s0_residency_usec
    and for the S0i2.x substate counters on PTL in 7.0 and compare with the 
6.17 driver. Either the
    mapping changed, or the driver reads a latch that is only refreshed on cold 
boot, or the
    counters moved to a different register block on this stepping.
  - The debugfs layout changed between the two kernels (6.17 prints the 
substate rows without a
    "pmc0" prefix and reports live values; 7.0 prints a "pmc0 Substate 
Residency" header and both
    counters are static), which is a useful pointer for the bisect.
  
  [Verification Plan]
  On the fixed kernel, a 60 s rtcwake cycle at uptime >= 110 s must show 
slp_s0_residency_usec and
  S0i2.2 growing by roughly the sleep time (as 6.17.0-oem does), Package C10 
growing by the same
  amount, suspend_stats success/fail = 1/0, and the OEM SRU suspend tests 
(S2idleNotDeepest,
  LongSuspend, PmDevicesFailedToSuspend) must pass. Keep the 11 x 6.17.0-oem 
rows as the control
  group.
  
  [Additional Information]
  - Attachments: switch matrix, apt history/firmware inventory, full apport 
report from the failing
    kernel, raw pmc_core/suspend_stats/dmesg dumps for both kernels, and the 
measurement log.
  - 7.0.0-28 and 7.0.0-29 did not come back after reboot on this machine (no 
SSH, no ping, power
    button required). Not yet confirmed through a serial console.
  - 7.0.0 builds published in noble-updates/security at the time of testing: 
14, 28, 29, 30, 31, 34,
    38, 42, 43, 44.
- 
- [Worklog]
- 2026-12-02: this description is the authoritative record; the earlier comment 
that announced the correction is historical (Launchpad comments cannot be 
edited or deleted) and its content is fully folded into [Actual Result], 
[Isolation Experiments] and [Root Cause] above.
- 
- 2026-12-02: filed from the certification SRU regression analysis, then 
corrected after deeper
- instrumentation: the suspend itself is fine, the S0ix counters are the 
regression.
- 
- [Stage]
- Right after it happened

** Summary changed:

- [linux-hwe-7.0] 7.0.0-44: slp_s0_residency_usec and S0i2.x counters frozen on 
Dell Pro 3 14 P314260 while Package C10 still advances (6.17.0-oem fine)
+ [SRU] Dell Pro 3 14 P314260 Fails on S2idleNotDeepest, LongSuspend and 
PmDevicesFailedToSuspend

** Summary changed:

- [SRU] Dell Pro 3 14 P314260 Fails on S2idleNotDeepest, LongSuspend and 
PmDevicesFailedToSuspend
+ [SRU] Dell Pro 3 14 P314260 Fails on suspend test

** Description changed:

  [Summary]
  The machine failed on the OEM SRU job 
"cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019",
  build #4 
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019/4/),
  finished UNSTABLE with 5 passed / 3 failed:
  
-   s3: Expected /sys/kernel/debug/pmc_core/slp_s0_residency_usec to increase 
from 0, got 0
-       (S2idleNotDeepest, CRITICAL)
-   LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
-   PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, or 
early wake event
+   suspend/suspend_advanced_auto (fwts s3):
+     S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
+       increase from 0, got 0
+     LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
+     PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
        detected
+   suspend/validate_suspend_status: success:0, last_failed_errno:-110, 
total_hw_sleep:0
  
  The machine does not hang: it enters s2idle, wakes from the RTC wakeup source 
(PNP0B00:00) and
  returns to the desktop by itself, so from the outside the suspend looks fine 
and only the test
  assertions fail.
  
  After debugging, the platform really does reach deep sleep: Package C10 
advances by 93-99 % of the
  requested sleep time on 7.0.0-44. What is broken is the S0ix accounting: 
slp_s0_residency_usec and
  the S0i2.x substate counters stay frozen at the value they had when the 
kernel booted, while the
  same machine and userspace on 6.17.0-1028-oem report all three counters 
consistently. So this is a
  7.0 regression in the PMC/S0ix reporting (intel_pmc_core / 
intel_pmc_core_pltdrv) rather than a
  failure to suspend, and the certification test fails on a metric that no 
longer updates.
  
  [Steps to Reproduce]
  1. Install the OEM image used by the certification lab for this platform: 
Ubuntu 24.04.4 LTS
     (noble) OEM image, build "somerville-noble-oem-24.04d-20260701-98". This 
is an OEM image
     (OEM metapackages preinstalled, 24.04.4 base), not the stock/GA desktop 
image. The kernel under
     test, 7.0.0-44-generic, comes in through the dist-upgrade of that image.
- 2. Run the full OEM SRU suite for noble (the run that failed). The suspend 
test alone also shows
-    the frozen counter, so a specific run is enough to observe the symptom, 
but the full-suite run
-    is where LongSuspend and PmDevicesFailedToSuspend appear as well.
+ 2. Run the full OEM SRU suite for noble (the run that failed). Running the 
suspend tests alone
+    reproduces most of it:
+    - suspend/suspend_advanced_auto calls fwts s3 and reports 
S2idleNotDeepest, LongSuspend and
+      PmDevicesFailedToSuspend;
+    - suspend/validate_suspend_status reads /sys/kernel/debug/suspend_stats 
and reports success:0,
+      last_failed_errno:-110, total_hw_sleep:0.
+    The -110 device-suspend timeout only appears in the full-suite run, the 
frozen residency
+    counter reproduces in an isolated test as well.
  3. Observe the suspend test result on the machine:
     - S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
       increase from 0, got 0
     - LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
     - PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
       detected
     The machine comes back from suspend normally (wakeup source PNP0B00:00, 
pm-action returned 0);
     the failure is in what the counters report, not in the wake-up.
  
  [Affected Machines]
  202606-39019 - Dell Inc. Dell Pro 3 14 P314260 (SKU 0EA3, BIOS 2.1.6)
  C3: https://certification.canonical.com/hardware/202606-39019/
  
  [Expected Result]
  For a suspend cycle of N seconds, the S0ix residency counters increase by 
roughly N. On
  6.17.0-1028-oem a 30 s rtcwake cycle gives slp_s0_residency_usec +25.92 s, 
S0i2.2 +25.91 s and
  Package C10 +26.50 s, and the suspend test passes.
  
  [Actual Result]
  7.0.0-44-generic, 60 s rtcwake cycle (fresh boot, uptime 116 s):
  
    slp_s0_residency_usec: 88420964 -> 88420964   delta 0 us
    S0i2.2               : 88387383 -> 88387383   delta 0 us
    Package C10          : 62298819 -> 122044385  delta 59,745,566 us (59.75 s)
    suspend_stats        : success: 1, fail: 0
    dmesg                : one "PM: suspend entry (s2idle)" / "PM: suspend 
exit" pair
  
  7.0.0-44-generic, 30 s cycle (uptime 552 s): slp_s0 delta 0, S0i2.2
  delta 0, Package C10 +27.93 s.
  
  In the SRU run the same behaviour shows up as the three failures listed in 
[Steps to Reproduce]:
  s2idle takes 83 s, the residency counter does not move, and one "Some devices 
failed to suspend,
  or early wake event detected" is logged.
  
  [Failure Rate]
  100% on 7.0.0-44, 7.0.0-43 (also woke early at 7.5 s) and 7.0.0-14. 0% on 
6.17.0-oem: 11 builds,
  22 measurements (GM image and dist-upgraded image).
  
  [Affected Test Cases]
- S2idleNotDeepest (CRITICAL), LongSuspend (HIGH), PmDevicesFailedToSuspend 
(CRITICAL) - the
- suspend/s2idle set in the OEM SRU suite.
+ suspend/suspend_advanced_auto (Category: Suspend tests) - runs fwts "s3" and 
fails with
+ S2idleNotDeepest (CRITICAL), LongSuspend (HIGH) and PmDevicesFailedToSuspend 
(CRITICAL).
+ 
+ suspend/validate_suspend_status (Category: Suspend tests) - validates the 
last suspend against
+ /sys/kernel/debug/suspend_stats; on the failing run it reports success:0, 
last_failed_errno:-110,
+ total_hw_sleep:0.
+ 
+ suspend/any_suspend_failure - same suspend_stats block, also fails for
+ the same reason.
  
  [Environment]
  Machine:        Dell Inc. Dell Pro 3 14 P314260 (CPU: Intel(R) Core(TM) Ultra 
7 365)
  System SKU:     0EA3
  BIOS:           2.1.6
  OS:             Ubuntu 24.04.4 LTS (noble), amd64
  Image:          OEM 24.04.4 desktop image, build 20260701-98
  Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1, 
noble-updates/security)
  Good kernel:    6.17.0-1028-oem (linux-oem-6.17 6.17.0-1028.28 via meta 
linux-oem-24.04d)
  PMC driver:     intel_pmc_core + intel_pmc_core_pltdrv (same modules present 
in both kernels)
  Suspend mode:   s2idle ("[s2idle]" in /sys/power/mem_sleep)
  
  [Kernel Switch Matrix]
  Same 20 s rtcwake cycle, measured at uptime >= 100 s.
  
    userspace            kernel                              S0ix delta     
entry->exit   result
    GM image             6.17.0-1028-oem                     +16.07 s       
21.5 s        PASS
    GM image             6.17.0-1011/1012/1017/1020/1023/    +15.4..16.4 s  
20.7..22.0 s  PASS (11/11)
                         1024/1025/1028/1030/1032/1033-oem
    dist-upgraded        6.17.0-1011..1033-oem (same 11)     +15.3..16.4 s  
20.7..21.9 s  PASS (11/11)
    dist-upgraded        7.0.0-44-generic                    0              
21.6 s        FAIL
    dist-upgraded        7.0.0-43-generic                    0               
7.5 s        FAIL
    dist-upgraded        7.0.0-14-generic                    0              
20.2 s        FAIL
    dist-upgraded        7.0.0-28-generic                    -              no 
boot       n/a
    dist-upgraded        7.0.0-29-generic                    -              no 
boot       n/a
  
  [Bisect Method]
  Kernels installed side by side from the archive, selected with a one-shot 
grub-reboot entry so a
  bad kernel never becomes the default:
  
    sudo apt-get install -y linux-image-<version>
    sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
    sudo reboot
    # wait for ssh, then wait until /proc/uptime >= 110 before measuring
    S0=/sys/kernel/debug/pmc_core/slp_s0_residency_usec
    PC=/sys/kernel/debug/pmc_core/package_cstate_show
    SUB=/sys/kernel/debug/pmc_core/substate_residencies
    a1=$(cat $S0); a2=$(awk '/S0i2.2/{print $2}' $SUB); a3=$(awk '/Package 
C10/{print $4}' $PC)
    rtcwake -m mem -s 60
    b1=$(cat $S0); b2=$(awk '/S0i2.2/{print $2}' $SUB); b3=$(awk '/Package 
C10/{print $4}' $PC)
    echo "s0=$((b1-a1)) s0i2.2=$((b2-a2)) c10=$((b3-a3))"
  
  [Upgrade Scope]
  The dist-upgrade that introduces 7.0 (2026-12-01 07:04:09, "apt-get -y 
dist-upgrade -q") upgraded
  1126 packages and removed none. Relevant new installs: 
linux-generic-hwe-24.04 7.0.0-44.44~24.04.1
  (linux-image-7.0.0-44-generic and modules) and linux-firmware 
20240318.git3b128b60.0ubuntu3.1 with
  its new split packages.
  
  Only the kernel matters: with that same upgraded userspace all 11
  6.17.0-oem builds pass.
  
  [Isolation Experiments]
  - ISH LTR is not the blocker: PMC0:ISH shows LTR RAW 0x0 / Non-Snoop 0 / 
Snoop 0, and writing 17
    to pmc_core/ltr_ignore (confirmed via LTR_IGNORE: 1 in ltr_show) does not 
change the result.
  - LTR values are identical between 6.17 and 7.0 (aggregated 189440 ns, GbE 
189440 ns, current
    platform 40960 ns), so an LTR-based S0ix veto does not explain it.
  - No device blocks the suspend in the manual cycles: suspend_stats fail: 0, 
no "Some devices
    failed to suspend" in the 20/30/60 s rtcwake runs, and the active 
wakeup_sources set on 7.0 is a
    subset of the 6.17 one. (The SRU run does log one "failed to suspend, or 
early wake event
    detected" at uptime 913 s.)
  - PCI 0000:00:0d.3 (USB4 host interface 8086:e434, driver thunderbolt) 
runtime-suspends normally
    on 7.0 (runtime_status=suspended, runtime_suspended_time advancing); it 
only appears active in
    the immediate post-resume snapshot.
  - Package C10 advances for 93-99 % of the sleep time on 7.0, which is the 
decisive evidence that
    the platform itself sleeps deeply and only the S0ix counters are stale.
  
  [Root Cause]
  The platform sleeps; the S0ix residency reporting in the 7.0 PMC path does 
not update for this
  platform. On 7.0 both slp_s0_residency_usec and the S0i2.x substate counters 
stay at the value
  they had when the kernel booted, while Package C10 keeps advancing and 
suspend_stats reports
  successful suspends. On 6.17.0-oem all three counters advance consistently.
  
  The hardware counter persists across warm reboots: after the 6.17 run ended at
  slp_s0_residency_usec=88420964, the 7.0 boot started from that same value and 
never moved it,
  which points at a driver-side read that no longer reaches the live register 
(or reaches a register
  that is not updated on this platform/stepping) rather than at a platform that 
stays awake.
  
  The 83 s s2idle duration and the single "Some devices failed to suspend" in 
the suite run are
  separate symptoms of the same area; they do not reproduce in the isolated 
rtcwake cycles.
  
  [Proposed Fix / Patch]
  No patch yet. Candidate areas:
  - intel_pmc_core / intel_pmc_core_pltdrv: check which register is read for 
slp_s0_residency_usec
    and for the S0i2.x substate counters on PTL in 7.0 and compare with the 
6.17 driver. Either the
    mapping changed, or the driver reads a latch that is only refreshed on cold 
boot, or the
    counters moved to a different register block on this stepping.
  - The debugfs layout changed between the two kernels (6.17 prints the 
substate rows without a
    "pmc0" prefix and reports live values; 7.0 prints a "pmc0 Substate 
Residency" header and both
    counters are static), which is a useful pointer for the bisect.
  
  [Verification Plan]
  On the fixed kernel, a 60 s rtcwake cycle at uptime >= 110 s must show 
slp_s0_residency_usec and
  S0i2.2 growing by roughly the sleep time (as 6.17.0-oem does), Package C10 
growing by the same
  amount, suspend_stats success/fail = 1/0, and the OEM SRU suspend tests 
(S2idleNotDeepest,
  LongSuspend, PmDevicesFailedToSuspend) must pass. Keep the 11 x 6.17.0-oem 
rows as the control
  group.
  
  [Additional Information]
  - Attachments: switch matrix, apt history/firmware inventory, full apport 
report from the failing
    kernel, raw pmc_core/suspend_stats/dmesg dumps for both kernels, and the 
measurement log.
  - 7.0.0-28 and 7.0.0-29 did not come back after reboot on this machine (no 
SSH, no ping, power
    button required). Not yet confirmed through a serial console.
  - 7.0.0 builds published in noble-updates/security at the time of testing: 
14, 28, 29, 30, 31, 34,
    38, 42, 43, 44.
+ 
+ [Worklog]
+ 2026-12-02: filed from the certification SRU regression analysis, then 
corrected after deeper
+ instrumentation: the suspend itself is fine, the S0ix counters are the 
regression.
+ 
+ [Stage]
+ Right after it happened

** Description changed:

  [Summary]
  The machine failed on the OEM SRU job 
"cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019",
- build #4 
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019/4/),
- finished UNSTABLE with 5 passed / 3 failed:
+ build #4 
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019/4/).
+ That build ran 7.0.0-43-generic on this machine and Jenkins reports it as 
UNSTABLE - the console ends
+ with "Build step 'Publish JUnit test result report' changed build result to 
UNSTABLE". The suspend
+ test's own fwts s3 run (suspend_single.log) reports 5 passed / 3 failed:
  
    suspend/suspend_advanced_auto (fwts s3):
      S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
        increase from 0, got 0
      LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
      PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
        detected
    suspend/validate_suspend_status: success:0, last_failed_errno:-110, 
total_hw_sleep:0
  
  The machine does not hang: it enters s2idle, wakes from the RTC wakeup source 
(PNP0B00:00) and
  returns to the desktop by itself, so from the outside the suspend looks fine 
and only the test
  assertions fail.
  
  After debugging, the platform really does reach deep sleep: Package C10 
advances by 93-99 % of the
  requested sleep time on 7.0.0-44. What is broken is the S0ix accounting: 
slp_s0_residency_usec and
  the S0i2.x substate counters stay frozen at the value they had when the 
kernel booted, while the
  same machine and userspace on 6.17.0-1028-oem report all three counters 
consistently. So this is a
  7.0 regression in the PMC/S0ix reporting (intel_pmc_core / 
intel_pmc_core_pltdrv) rather than a
  failure to suspend, and the certification test fails on a metric that no 
longer updates.
  
  [Steps to Reproduce]
  1. Install the OEM image used by the certification lab for this platform: 
Ubuntu 24.04.4 LTS
     (noble) OEM image, build "somerville-noble-oem-24.04d-20260701-98". This 
is an OEM image
     (OEM metapackages preinstalled, 24.04.4 base), not the stock/GA desktop 
image. The kernel under
     test, 7.0.0-44-generic, comes in through the dist-upgrade of that image.
  2. Run the full OEM SRU suite for noble (the run that failed). Running the 
suspend tests alone
     reproduces most of it:
     - suspend/suspend_advanced_auto calls fwts s3 and reports 
S2idleNotDeepest, LongSuspend and
       PmDevicesFailedToSuspend;
     - suspend/validate_suspend_status reads /sys/kernel/debug/suspend_stats 
and reports success:0,
       last_failed_errno:-110, total_hw_sleep:0.
     The -110 device-suspend timeout only appears in the full-suite run, the 
frozen residency
     counter reproduces in an isolated test as well.
  3. Observe the suspend test result on the machine:
     - S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
       increase from 0, got 0
     - LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
     - PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
       detected
     The machine comes back from suspend normally (wakeup source PNP0B00:00, 
pm-action returned 0);
     the failure is in what the counters report, not in the wake-up.
  
  [Affected Machines]
  202606-39019 - Dell Inc. Dell Pro 3 14 P314260 (SKU 0EA3, BIOS 2.1.6)
  C3: https://certification.canonical.com/hardware/202606-39019/
  
  [Expected Result]
  For a suspend cycle of N seconds, the S0ix residency counters increase by 
roughly N. On
  6.17.0-1028-oem a 30 s rtcwake cycle gives slp_s0_residency_usec +25.92 s, 
S0i2.2 +25.91 s and
  Package C10 +26.50 s, and the suspend test passes.
  
  [Actual Result]
  7.0.0-44-generic, 60 s rtcwake cycle (fresh boot, uptime 116 s):
  
    slp_s0_residency_usec: 88420964 -> 88420964   delta 0 us
    S0i2.2               : 88387383 -> 88387383   delta 0 us
    Package C10          : 62298819 -> 122044385  delta 59,745,566 us (59.75 s)
    suspend_stats        : success: 1, fail: 0
    dmesg                : one "PM: suspend entry (s2idle)" / "PM: suspend 
exit" pair
  
  7.0.0-44-generic, 30 s cycle (uptime 552 s): slp_s0 delta 0, S0i2.2
  delta 0, Package C10 +27.93 s.
  
  In the SRU run the same behaviour shows up as the three failures listed in 
[Steps to Reproduce]:
  s2idle takes 83 s, the residency counter does not move, and one "Some devices 
failed to suspend,
  or early wake event detected" is logged.
  
  [Failure Rate]
  100% on 7.0.0-44, 7.0.0-43 (also woke early at 7.5 s) and 7.0.0-14. 0% on 
6.17.0-oem: 11 builds,
  22 measurements (GM image and dist-upgraded image).
  
  [Affected Test Cases]
  suspend/suspend_advanced_auto (Category: Suspend tests) - runs fwts "s3" and 
fails with
  S2idleNotDeepest (CRITICAL), LongSuspend (HIGH) and PmDevicesFailedToSuspend 
(CRITICAL).
  
  suspend/validate_suspend_status (Category: Suspend tests) - validates the 
last suspend against
  /sys/kernel/debug/suspend_stats; on the failing run it reports success:0, 
last_failed_errno:-110,
  total_hw_sleep:0.
  
  suspend/any_suspend_failure - same suspend_stats block, also fails for
  the same reason.
  
  [Environment]
  Machine:        Dell Inc. Dell Pro 3 14 P314260 (CPU: Intel(R) Core(TM) Ultra 
7 365)
  System SKU:     0EA3
  BIOS:           2.1.6
  OS:             Ubuntu 24.04.4 LTS (noble), amd64
  Image:          OEM 24.04.4 desktop image, build 20260701-98
- Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1, 
noble-updates/security)
+ Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1, 
noble-updates/security);
+                 the failing SRU build #4 ran 7.0.0-43-generic 
(7.0.0-43.43~24.04.1) and the same
+                 behaviour reproduces on 7.0.0-44 and 7.0.0-14 (see matrix)
  Good kernel:    6.17.0-1028-oem (linux-oem-6.17 6.17.0-1028.28 via meta 
linux-oem-24.04d)
  PMC driver:     intel_pmc_core + intel_pmc_core_pltdrv (same modules present 
in both kernels)
  Suspend mode:   s2idle ("[s2idle]" in /sys/power/mem_sleep)
  
  [Kernel Switch Matrix]
  Same 20 s rtcwake cycle, measured at uptime >= 100 s.
  
    userspace            kernel                              S0ix delta     
entry->exit   result
    GM image             6.17.0-1028-oem                     +16.07 s       
21.5 s        PASS
    GM image             6.17.0-1011/1012/1017/1020/1023/    +15.4..16.4 s  
20.7..22.0 s  PASS (11/11)
                         1024/1025/1028/1030/1032/1033-oem
    dist-upgraded        6.17.0-1011..1033-oem (same 11)     +15.3..16.4 s  
20.7..21.9 s  PASS (11/11)
    dist-upgraded        7.0.0-44-generic                    0              
21.6 s        FAIL
    dist-upgraded        7.0.0-43-generic                    0               
7.5 s        FAIL
    dist-upgraded        7.0.0-14-generic                    0              
20.2 s        FAIL
    dist-upgraded        7.0.0-28-generic                    -              no 
boot       n/a
    dist-upgraded        7.0.0-29-generic                    -              no 
boot       n/a
  
  [Bisect Method]
  Kernels installed side by side from the archive, selected with a one-shot 
grub-reboot entry so a
  bad kernel never becomes the default:
  
    sudo apt-get install -y linux-image-<version>
    sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
    sudo reboot
    # wait for ssh, then wait until /proc/uptime >= 110 before measuring
    S0=/sys/kernel/debug/pmc_core/slp_s0_residency_usec
    PC=/sys/kernel/debug/pmc_core/package_cstate_show
    SUB=/sys/kernel/debug/pmc_core/substate_residencies
    a1=$(cat $S0); a2=$(awk '/S0i2.2/{print $2}' $SUB); a3=$(awk '/Package 
C10/{print $4}' $PC)
    rtcwake -m mem -s 60
    b1=$(cat $S0); b2=$(awk '/S0i2.2/{print $2}' $SUB); b3=$(awk '/Package 
C10/{print $4}' $PC)
    echo "s0=$((b1-a1)) s0i2.2=$((b2-a2)) c10=$((b3-a3))"
  
  [Upgrade Scope]
  The dist-upgrade that introduces 7.0 (2026-12-01 07:04:09, "apt-get -y 
dist-upgrade -q") upgraded
  1126 packages and removed none. Relevant new installs: 
linux-generic-hwe-24.04 7.0.0-44.44~24.04.1
  (linux-image-7.0.0-44-generic and modules) and linux-firmware 
20240318.git3b128b60.0ubuntu3.1 with
  its new split packages.
  
  Only the kernel matters: with that same upgraded userspace all 11
  6.17.0-oem builds pass.
  
  [Isolation Experiments]
  - ISH LTR is not the blocker: PMC0:ISH shows LTR RAW 0x0 / Non-Snoop 0 / 
Snoop 0, and writing 17
    to pmc_core/ltr_ignore (confirmed via LTR_IGNORE: 1 in ltr_show) does not 
change the result.
  - LTR values are identical between 6.17 and 7.0 (aggregated 189440 ns, GbE 
189440 ns, current
    platform 40960 ns), so an LTR-based S0ix veto does not explain it.
  - No device blocks the suspend in the manual cycles: suspend_stats fail: 0, 
no "Some devices
    failed to suspend" in the 20/30/60 s rtcwake runs, and the active 
wakeup_sources set on 7.0 is a
    subset of the 6.17 one. (The SRU run does log one "failed to suspend, or 
early wake event
    detected" at uptime 913 s.)
  - PCI 0000:00:0d.3 (USB4 host interface 8086:e434, driver thunderbolt) 
runtime-suspends normally
    on 7.0 (runtime_status=suspended, runtime_suspended_time advancing); it 
only appears active in
    the immediate post-resume snapshot.
  - Package C10 advances for 93-99 % of the sleep time on 7.0, which is the 
decisive evidence that
    the platform itself sleeps deeply and only the S0ix counters are stale.
  
  [Root Cause]
  The platform sleeps; the S0ix residency reporting in the 7.0 PMC path does 
not update for this
  platform. On 7.0 both slp_s0_residency_usec and the S0i2.x substate counters 
stay at the value
  they had when the kernel booted, while Package C10 keeps advancing and 
suspend_stats reports
  successful suspends. On 6.17.0-oem all three counters advance consistently.
  
  The hardware counter persists across warm reboots: after the 6.17 run ended at
  slp_s0_residency_usec=88420964, the 7.0 boot started from that same value and 
never moved it,
  which points at a driver-side read that no longer reaches the live register 
(or reaches a register
  that is not updated on this platform/stepping) rather than at a platform that 
stays awake.
  
  The 83 s s2idle duration and the single "Some devices failed to suspend" in 
the suite run are
  separate symptoms of the same area; they do not reproduce in the isolated 
rtcwake cycles.
  
  [Proposed Fix / Patch]
  No patch yet. Candidate areas:
  - intel_pmc_core / intel_pmc_core_pltdrv: check which register is read for 
slp_s0_residency_usec
    and for the S0i2.x substate counters on PTL in 7.0 and compare with the 
6.17 driver. Either the
    mapping changed, or the driver reads a latch that is only refreshed on cold 
boot, or the
    counters moved to a different register block on this stepping.
  - The debugfs layout changed between the two kernels (6.17 prints the 
substate rows without a
    "pmc0" prefix and reports live values; 7.0 prints a "pmc0 Substate 
Residency" header and both
    counters are static), which is a useful pointer for the bisect.
  
  [Verification Plan]
  On the fixed kernel, a 60 s rtcwake cycle at uptime >= 110 s must show 
slp_s0_residency_usec and
  S0i2.2 growing by roughly the sleep time (as 6.17.0-oem does), Package C10 
growing by the same
  amount, suspend_stats success/fail = 1/0, and the OEM SRU suspend tests 
(S2idleNotDeepest,
  LongSuspend, PmDevicesFailedToSuspend) must pass. Keep the 11 x 6.17.0-oem 
rows as the control
  group.
  
  [Additional Information]
  - Attachments: switch matrix, apt history/firmware inventory, full apport 
report from the failing
    kernel, raw pmc_core/suspend_stats/dmesg dumps for both kernels, and the 
measurement log.
  - 7.0.0-28 and 7.0.0-29 did not come back after reboot on this machine (no 
SSH, no ping, power
    button required). Not yet confirmed through a serial console.
  - 7.0.0 builds published in noble-updates/security at the time of testing: 
14, 28, 29, 30, 31, 34,
    38, 42, 43, 44.
  
  [Worklog]
  2026-12-02: filed from the certification SRU regression analysis, then 
corrected after deeper
  instrumentation: the suspend itself is fine, the S0ix counters are the 
regression.
  
  [Stage]
  Right after it happened

** Description changed:

  [Summary]
  The machine failed on the OEM SRU job 
"cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019",
  build #4 
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019/4/).
  That build ran 7.0.0-43-generic on this machine and Jenkins reports it as 
UNSTABLE - the console ends
  with "Build step 'Publish JUnit test result report' changed build result to 
UNSTABLE". The suspend
- test's own fwts s3 run (suspend_single.log) reports 5 passed / 3 failed:
+ job in that run (158/242, suspend/suspend_advanced_auto, fwts s3 with 
--s3-sleep-delay 30) failed
+ with:
  
    suspend/suspend_advanced_auto (fwts s3):
      S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
        increase from 0, got 0
      LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
      PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
        detected
    suspend/validate_suspend_status: success:0, last_failed_errno:-110, 
total_hw_sleep:0
  
  The machine does not hang: it enters s2idle, wakes from the RTC wakeup source 
(PNP0B00:00) and
  returns to the desktop by itself, so from the outside the suspend looks fine 
and only the test
  assertions fail.
  
  After debugging, the platform really does reach deep sleep: Package C10 
advances by 93-99 % of the
  requested sleep time on 7.0.0-44. What is broken is the S0ix accounting: 
slp_s0_residency_usec and
  the S0i2.x substate counters stay frozen at the value they had when the 
kernel booted, while the
  same machine and userspace on 6.17.0-1028-oem report all three counters 
consistently. So this is a
  7.0 regression in the PMC/S0ix reporting (intel_pmc_core / 
intel_pmc_core_pltdrv) rather than a
  failure to suspend, and the certification test fails on a metric that no 
longer updates.
  
  [Steps to Reproduce]
  1. Install the OEM image used by the certification lab for this platform: 
Ubuntu 24.04.4 LTS
     (noble) OEM image, build "somerville-noble-oem-24.04d-20260701-98". This 
is an OEM image
     (OEM metapackages preinstalled, 24.04.4 base), not the stock/GA desktop 
image. The kernel under
     test, 7.0.0-44-generic, comes in through the dist-upgrade of that image.
  2. Run the full OEM SRU suite for noble (the run that failed). Running the 
suspend tests alone
     reproduces most of it:
     - suspend/suspend_advanced_auto calls fwts s3 and reports 
S2idleNotDeepest, LongSuspend and
       PmDevicesFailedToSuspend;
     - suspend/validate_suspend_status reads /sys/kernel/debug/suspend_stats 
and reports success:0,
       last_failed_errno:-110, total_hw_sleep:0.
     The -110 device-suspend timeout only appears in the full-suite run, the 
frozen residency
     counter reproduces in an isolated test as well.
  3. Observe the suspend test result on the machine:
     - S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
       increase from 0, got 0
     - LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
     - PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
       detected
     The machine comes back from suspend normally (wakeup source PNP0B00:00, 
pm-action returned 0);
     the failure is in what the counters report, not in the wake-up.
  
  [Affected Machines]
  202606-39019 - Dell Inc. Dell Pro 3 14 P314260 (SKU 0EA3, BIOS 2.1.6)
  C3: https://certification.canonical.com/hardware/202606-39019/
  
  [Expected Result]
  For a suspend cycle of N seconds, the S0ix residency counters increase by 
roughly N. On
  6.17.0-1028-oem a 30 s rtcwake cycle gives slp_s0_residency_usec +25.92 s, 
S0i2.2 +25.91 s and
  Package C10 +26.50 s, and the suspend test passes.
  
  [Actual Result]
  7.0.0-44-generic, 60 s rtcwake cycle (fresh boot, uptime 116 s):
  
    slp_s0_residency_usec: 88420964 -> 88420964   delta 0 us
    S0i2.2               : 88387383 -> 88387383   delta 0 us
    Package C10          : 62298819 -> 122044385  delta 59,745,566 us (59.75 s)
    suspend_stats        : success: 1, fail: 0
    dmesg                : one "PM: suspend entry (s2idle)" / "PM: suspend 
exit" pair
  
  7.0.0-44-generic, 30 s cycle (uptime 552 s): slp_s0 delta 0, S0i2.2
  delta 0, Package C10 +27.93 s.
  
  In the SRU run the same behaviour shows up as the three failures listed in 
[Steps to Reproduce]:
  s2idle takes 83 s, the residency counter does not move, and one "Some devices 
failed to suspend,
  or early wake event detected" is logged.
  
  [Failure Rate]
  100% on 7.0.0-44, 7.0.0-43 (also woke early at 7.5 s) and 7.0.0-14. 0% on 
6.17.0-oem: 11 builds,
  22 measurements (GM image and dist-upgraded image).
  
  [Affected Test Cases]
  suspend/suspend_advanced_auto (Category: Suspend tests) - runs fwts "s3" and 
fails with
  S2idleNotDeepest (CRITICAL), LongSuspend (HIGH) and PmDevicesFailedToSuspend 
(CRITICAL).
  
  suspend/validate_suspend_status (Category: Suspend tests) - validates the 
last suspend against
  /sys/kernel/debug/suspend_stats; on the failing run it reports success:0, 
last_failed_errno:-110,
  total_hw_sleep:0.
  
  suspend/any_suspend_failure - same suspend_stats block, also fails for
  the same reason.
  
  [Environment]
  Machine:        Dell Inc. Dell Pro 3 14 P314260 (CPU: Intel(R) Core(TM) Ultra 
7 365)
  System SKU:     0EA3
  BIOS:           2.1.6
  OS:             Ubuntu 24.04.4 LTS (noble), amd64
  Image:          OEM 24.04.4 desktop image, build 20260701-98
  Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1, 
noble-updates/security);
                  the failing SRU build #4 ran 7.0.0-43-generic 
(7.0.0-43.43~24.04.1) and the same
                  behaviour reproduces on 7.0.0-44 and 7.0.0-14 (see matrix)
  Good kernel:    6.17.0-1028-oem (linux-oem-6.17 6.17.0-1028.28 via meta 
linux-oem-24.04d)
  PMC driver:     intel_pmc_core + intel_pmc_core_pltdrv (same modules present 
in both kernels)
  Suspend mode:   s2idle ("[s2idle]" in /sys/power/mem_sleep)
  
  [Kernel Switch Matrix]
  Same 20 s rtcwake cycle, measured at uptime >= 100 s.
  
    userspace            kernel                              S0ix delta     
entry->exit   result
    GM image             6.17.0-1028-oem                     +16.07 s       
21.5 s        PASS
    GM image             6.17.0-1011/1012/1017/1020/1023/    +15.4..16.4 s  
20.7..22.0 s  PASS (11/11)
                         1024/1025/1028/1030/1032/1033-oem
    dist-upgraded        6.17.0-1011..1033-oem (same 11)     +15.3..16.4 s  
20.7..21.9 s  PASS (11/11)
    dist-upgraded        7.0.0-44-generic                    0              
21.6 s        FAIL
    dist-upgraded        7.0.0-43-generic                    0               
7.5 s        FAIL
    dist-upgraded        7.0.0-14-generic                    0              
20.2 s        FAIL
    dist-upgraded        7.0.0-28-generic                    -              no 
boot       n/a
    dist-upgraded        7.0.0-29-generic                    -              no 
boot       n/a
  
  [Bisect Method]
  Kernels installed side by side from the archive, selected with a one-shot 
grub-reboot entry so a
  bad kernel never becomes the default:
  
    sudo apt-get install -y linux-image-<version>
    sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
    sudo reboot
    # wait for ssh, then wait until /proc/uptime >= 110 before measuring
    S0=/sys/kernel/debug/pmc_core/slp_s0_residency_usec
    PC=/sys/kernel/debug/pmc_core/package_cstate_show
    SUB=/sys/kernel/debug/pmc_core/substate_residencies
    a1=$(cat $S0); a2=$(awk '/S0i2.2/{print $2}' $SUB); a3=$(awk '/Package 
C10/{print $4}' $PC)
    rtcwake -m mem -s 60
    b1=$(cat $S0); b2=$(awk '/S0i2.2/{print $2}' $SUB); b3=$(awk '/Package 
C10/{print $4}' $PC)
    echo "s0=$((b1-a1)) s0i2.2=$((b2-a2)) c10=$((b3-a3))"
  
  [Upgrade Scope]
  The dist-upgrade that introduces 7.0 (2026-12-01 07:04:09, "apt-get -y 
dist-upgrade -q") upgraded
  1126 packages and removed none. Relevant new installs: 
linux-generic-hwe-24.04 7.0.0-44.44~24.04.1
  (linux-image-7.0.0-44-generic and modules) and linux-firmware 
20240318.git3b128b60.0ubuntu3.1 with
  its new split packages.
  
  Only the kernel matters: with that same upgraded userspace all 11
  6.17.0-oem builds pass.
  
  [Isolation Experiments]
  - ISH LTR is not the blocker: PMC0:ISH shows LTR RAW 0x0 / Non-Snoop 0 / 
Snoop 0, and writing 17
    to pmc_core/ltr_ignore (confirmed via LTR_IGNORE: 1 in ltr_show) does not 
change the result.
  - LTR values are identical between 6.17 and 7.0 (aggregated 189440 ns, GbE 
189440 ns, current
    platform 40960 ns), so an LTR-based S0ix veto does not explain it.
  - No device blocks the suspend in the manual cycles: suspend_stats fail: 0, 
no "Some devices
    failed to suspend" in the 20/30/60 s rtcwake runs, and the active 
wakeup_sources set on 7.0 is a
    subset of the 6.17 one. (The SRU run does log one "failed to suspend, or 
early wake event
    detected" at uptime 913 s.)
  - PCI 0000:00:0d.3 (USB4 host interface 8086:e434, driver thunderbolt) 
runtime-suspends normally
    on 7.0 (runtime_status=suspended, runtime_suspended_time advancing); it 
only appears active in
    the immediate post-resume snapshot.
  - Package C10 advances for 93-99 % of the sleep time on 7.0, which is the 
decisive evidence that
    the platform itself sleeps deeply and only the S0ix counters are stale.
  
  [Root Cause]
  The platform sleeps; the S0ix residency reporting in the 7.0 PMC path does 
not update for this
  platform. On 7.0 both slp_s0_residency_usec and the S0i2.x substate counters 
stay at the value
  they had when the kernel booted, while Package C10 keeps advancing and 
suspend_stats reports
  successful suspends. On 6.17.0-oem all three counters advance consistently.
  
  The hardware counter persists across warm reboots: after the 6.17 run ended at
  slp_s0_residency_usec=88420964, the 7.0 boot started from that same value and 
never moved it,
  which points at a driver-side read that no longer reaches the live register 
(or reaches a register
  that is not updated on this platform/stepping) rather than at a platform that 
stays awake.
  
  The 83 s s2idle duration and the single "Some devices failed to suspend" in 
the suite run are
  separate symptoms of the same area; they do not reproduce in the isolated 
rtcwake cycles.
  
  [Proposed Fix / Patch]
  No patch yet. Candidate areas:
  - intel_pmc_core / intel_pmc_core_pltdrv: check which register is read for 
slp_s0_residency_usec
    and for the S0i2.x substate counters on PTL in 7.0 and compare with the 
6.17 driver. Either the
    mapping changed, or the driver reads a latch that is only refreshed on cold 
boot, or the
    counters moved to a different register block on this stepping.
  - The debugfs layout changed between the two kernels (6.17 prints the 
substate rows without a
    "pmc0" prefix and reports live values; 7.0 prints a "pmc0 Substate 
Residency" header and both
    counters are static), which is a useful pointer for the bisect.
  
  [Verification Plan]
  On the fixed kernel, a 60 s rtcwake cycle at uptime >= 110 s must show 
slp_s0_residency_usec and
  S0i2.2 growing by roughly the sleep time (as 6.17.0-oem does), Package C10 
growing by the same
  amount, suspend_stats success/fail = 1/0, and the OEM SRU suspend tests 
(S2idleNotDeepest,
  LongSuspend, PmDevicesFailedToSuspend) must pass. Keep the 11 x 6.17.0-oem 
rows as the control
  group.
  
  [Additional Information]
  - Attachments: switch matrix, apt history/firmware inventory, full apport 
report from the failing
    kernel, raw pmc_core/suspend_stats/dmesg dumps for both kernels, and the 
measurement log.
  - 7.0.0-28 and 7.0.0-29 did not come back after reboot on this machine (no 
SSH, no ping, power
    button required). Not yet confirmed through a serial console.
  - 7.0.0 builds published in noble-updates/security at the time of testing: 
14, 28, 29, 30, 31, 34,
    38, 42, 43, 44.
  
  [Worklog]
  2026-12-02: filed from the certification SRU regression analysis, then 
corrected after deeper
  instrumentation: the suspend itself is fine, the S0ix counters are the 
regression.
  
  [Stage]
  Right after it happened

** Description changed:

  [Summary]
  The machine failed on the OEM SRU job 
"cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019",
  build #4 
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-dell-pro-3-14-p314260-c39019/4/).
- That build ran 7.0.0-43-generic on this machine and Jenkins reports it as 
UNSTABLE - the console ends
- with "Build step 'Publish JUnit test result report' changed build result to 
UNSTABLE". The suspend
- job in that run (158/242, suspend/suspend_advanced_auto, fwts s3 with 
--s3-sleep-delay 30) failed
- with:
+ The suspend tests in that run failed with:
  
    suspend/suspend_advanced_auto (fwts s3):
      S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
        increase from 0, got 0
      LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
      PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
        detected
    suspend/validate_suspend_status: success:0, last_failed_errno:-110, 
total_hw_sleep:0
  
  The machine does not hang: it enters s2idle, wakes from the RTC wakeup source 
(PNP0B00:00) and
  returns to the desktop by itself, so from the outside the suspend looks fine 
and only the test
  assertions fail.
  
  After debugging, the platform really does reach deep sleep: Package C10 
advances by 93-99 % of the
  requested sleep time on 7.0.0-44. What is broken is the S0ix accounting: 
slp_s0_residency_usec and
  the S0i2.x substate counters stay frozen at the value they had when the 
kernel booted, while the
  same machine and userspace on 6.17.0-1028-oem report all three counters 
consistently. So this is a
  7.0 regression in the PMC/S0ix reporting (intel_pmc_core / 
intel_pmc_core_pltdrv) rather than a
  failure to suspend, and the certification test fails on a metric that no 
longer updates.
  
  [Steps to Reproduce]
  1. Install the OEM image used by the certification lab for this platform: 
Ubuntu 24.04.4 LTS
     (noble) OEM image, build "somerville-noble-oem-24.04d-20260701-98". This 
is an OEM image
     (OEM metapackages preinstalled, 24.04.4 base), not the stock/GA desktop 
image. The kernel under
     test, 7.0.0-44-generic, comes in through the dist-upgrade of that image.
  2. Run the full OEM SRU suite for noble (the run that failed). Running the 
suspend tests alone
     reproduces most of it:
     - suspend/suspend_advanced_auto calls fwts s3 and reports 
S2idleNotDeepest, LongSuspend and
       PmDevicesFailedToSuspend;
     - suspend/validate_suspend_status reads /sys/kernel/debug/suspend_stats 
and reports success:0,
       last_failed_errno:-110, total_hw_sleep:0.
     The -110 device-suspend timeout only appears in the full-suite run, the 
frozen residency
     counter reproduces in an isolated test as well.
  3. Observe the suspend test result on the machine:
     - S2idleNotDeepest (CRITICAL): Expected 
/sys/kernel/debug/pmc_core/slp_s0_residency_usec to
       increase from 0, got 0
     - LongSuspend (HIGH): s2idle duration = 83 s, much longer than expected
     - PmDevicesFailedToSuspend (CRITICAL): PM: Some devices failed to suspend, 
or early wake event
       detected
     The machine comes back from suspend normally (wakeup source PNP0B00:00, 
pm-action returned 0);
     the failure is in what the counters report, not in the wake-up.
  
  [Affected Machines]
  202606-39019 - Dell Inc. Dell Pro 3 14 P314260 (SKU 0EA3, BIOS 2.1.6)
  C3: https://certification.canonical.com/hardware/202606-39019/
  
  [Expected Result]
  For a suspend cycle of N seconds, the S0ix residency counters increase by 
roughly N. On
  6.17.0-1028-oem a 30 s rtcwake cycle gives slp_s0_residency_usec +25.92 s, 
S0i2.2 +25.91 s and
  Package C10 +26.50 s, and the suspend test passes.
  
  [Actual Result]
  7.0.0-44-generic, 60 s rtcwake cycle (fresh boot, uptime 116 s):
  
    slp_s0_residency_usec: 88420964 -> 88420964   delta 0 us
    S0i2.2               : 88387383 -> 88387383   delta 0 us
    Package C10          : 62298819 -> 122044385  delta 59,745,566 us (59.75 s)
    suspend_stats        : success: 1, fail: 0
    dmesg                : one "PM: suspend entry (s2idle)" / "PM: suspend 
exit" pair
  
  7.0.0-44-generic, 30 s cycle (uptime 552 s): slp_s0 delta 0, S0i2.2
  delta 0, Package C10 +27.93 s.
  
  In the SRU run the same behaviour shows up as the three failures listed in 
[Steps to Reproduce]:
  s2idle takes 83 s, the residency counter does not move, and one "Some devices 
failed to suspend,
  or early wake event detected" is logged.
  
  [Failure Rate]
  100% on 7.0.0-44, 7.0.0-43 (also woke early at 7.5 s) and 7.0.0-14. 0% on 
6.17.0-oem: 11 builds,
  22 measurements (GM image and dist-upgraded image).
  
  [Affected Test Cases]
  suspend/suspend_advanced_auto (Category: Suspend tests) - runs fwts "s3" and 
fails with
  S2idleNotDeepest (CRITICAL), LongSuspend (HIGH) and PmDevicesFailedToSuspend 
(CRITICAL).
  
  suspend/validate_suspend_status (Category: Suspend tests) - validates the 
last suspend against
  /sys/kernel/debug/suspend_stats; on the failing run it reports success:0, 
last_failed_errno:-110,
  total_hw_sleep:0.
  
  suspend/any_suspend_failure - same suspend_stats block, also fails for
  the same reason.
  
  [Environment]
  Machine:        Dell Inc. Dell Pro 3 14 P314260 (CPU: Intel(R) Core(TM) Ultra 
7 365)
  System SKU:     0EA3
  BIOS:           2.1.6
  OS:             Ubuntu 24.04.4 LTS (noble), amd64
  Image:          OEM 24.04.4 desktop image, build 20260701-98
  Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1, 
noble-updates/security);
                  the failing SRU build #4 ran 7.0.0-43-generic 
(7.0.0-43.43~24.04.1) and the same
                  behaviour reproduces on 7.0.0-44 and 7.0.0-14 (see matrix)
  Good kernel:    6.17.0-1028-oem (linux-oem-6.17 6.17.0-1028.28 via meta 
linux-oem-24.04d)
  PMC driver:     intel_pmc_core + intel_pmc_core_pltdrv (same modules present 
in both kernels)
  Suspend mode:   s2idle ("[s2idle]" in /sys/power/mem_sleep)
  
  [Kernel Switch Matrix]
  Same 20 s rtcwake cycle, measured at uptime >= 100 s.
  
    userspace            kernel                              S0ix delta     
entry->exit   result
    GM image             6.17.0-1028-oem                     +16.07 s       
21.5 s        PASS
    GM image             6.17.0-1011/1012/1017/1020/1023/    +15.4..16.4 s  
20.7..22.0 s  PASS (11/11)
                         1024/1025/1028/1030/1032/1033-oem
    dist-upgraded        6.17.0-1011..1033-oem (same 11)     +15.3..16.4 s  
20.7..21.9 s  PASS (11/11)
    dist-upgraded        7.0.0-44-generic                    0              
21.6 s        FAIL
    dist-upgraded        7.0.0-43-generic                    0               
7.5 s        FAIL
    dist-upgraded        7.0.0-14-generic                    0              
20.2 s        FAIL
    dist-upgraded        7.0.0-28-generic                    -              no 
boot       n/a
    dist-upgraded        7.0.0-29-generic                    -              no 
boot       n/a
  
  [Bisect Method]
  Kernels installed side by side from the archive, selected with a one-shot 
grub-reboot entry so a
  bad kernel never becomes the default:
  
    sudo apt-get install -y linux-image-<version>
    sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
    sudo reboot
    # wait for ssh, then wait until /proc/uptime >= 110 before measuring
    S0=/sys/kernel/debug/pmc_core/slp_s0_residency_usec
    PC=/sys/kernel/debug/pmc_core/package_cstate_show
    SUB=/sys/kernel/debug/pmc_core/substate_residencies
    a1=$(cat $S0); a2=$(awk '/S0i2.2/{print $2}' $SUB); a3=$(awk '/Package 
C10/{print $4}' $PC)
    rtcwake -m mem -s 60
    b1=$(cat $S0); b2=$(awk '/S0i2.2/{print $2}' $SUB); b3=$(awk '/Package 
C10/{print $4}' $PC)
    echo "s0=$((b1-a1)) s0i2.2=$((b2-a2)) c10=$((b3-a3))"
  
  [Upgrade Scope]
  The dist-upgrade that introduces 7.0 (2026-12-01 07:04:09, "apt-get -y 
dist-upgrade -q") upgraded
  1126 packages and removed none. Relevant new installs: 
linux-generic-hwe-24.04 7.0.0-44.44~24.04.1
  (linux-image-7.0.0-44-generic and modules) and linux-firmware 
20240318.git3b128b60.0ubuntu3.1 with
  its new split packages.
  
  Only the kernel matters: with that same upgraded userspace all 11
  6.17.0-oem builds pass.
  
  [Isolation Experiments]
  - ISH LTR is not the blocker: PMC0:ISH shows LTR RAW 0x0 / Non-Snoop 0 / 
Snoop 0, and writing 17
    to pmc_core/ltr_ignore (confirmed via LTR_IGNORE: 1 in ltr_show) does not 
change the result.
  - LTR values are identical between 6.17 and 7.0 (aggregated 189440 ns, GbE 
189440 ns, current
    platform 40960 ns), so an LTR-based S0ix veto does not explain it.
  - No device blocks the suspend in the manual cycles: suspend_stats fail: 0, 
no "Some devices
    failed to suspend" in the 20/30/60 s rtcwake runs, and the active 
wakeup_sources set on 7.0 is a
    subset of the 6.17 one. (The SRU run does log one "failed to suspend, or 
early wake event
    detected" at uptime 913 s.)
  - PCI 0000:00:0d.3 (USB4 host interface 8086:e434, driver thunderbolt) 
runtime-suspends normally
    on 7.0 (runtime_status=suspended, runtime_suspended_time advancing); it 
only appears active in
    the immediate post-resume snapshot.
  - Package C10 advances for 93-99 % of the sleep time on 7.0, which is the 
decisive evidence that
    the platform itself sleeps deeply and only the S0ix counters are stale.
  
  [Root Cause]
  The platform sleeps; the S0ix residency reporting in the 7.0 PMC path does 
not update for this
  platform. On 7.0 both slp_s0_residency_usec and the S0i2.x substate counters 
stay at the value
  they had when the kernel booted, while Package C10 keeps advancing and 
suspend_stats reports
  successful suspends. On 6.17.0-oem all three counters advance consistently.
  
  The hardware counter persists across warm reboots: after the 6.17 run ended at
  slp_s0_residency_usec=88420964, the 7.0 boot started from that same value and 
never moved it,
  which points at a driver-side read that no longer reaches the live register 
(or reaches a register
  that is not updated on this platform/stepping) rather than at a platform that 
stays awake.
  
  The 83 s s2idle duration and the single "Some devices failed to suspend" in 
the suite run are
  separate symptoms of the same area; they do not reproduce in the isolated 
rtcwake cycles.
  
  [Proposed Fix / Patch]
  No patch yet. Candidate areas:
  - intel_pmc_core / intel_pmc_core_pltdrv: check which register is read for 
slp_s0_residency_usec
    and for the S0i2.x substate counters on PTL in 7.0 and compare with the 
6.17 driver. Either the
    mapping changed, or the driver reads a latch that is only refreshed on cold 
boot, or the
    counters moved to a different register block on this stepping.
  - The debugfs layout changed between the two kernels (6.17 prints the 
substate rows without a
    "pmc0" prefix and reports live values; 7.0 prints a "pmc0 Substate 
Residency" header and both
    counters are static), which is a useful pointer for the bisect.
  
  [Verification Plan]
  On the fixed kernel, a 60 s rtcwake cycle at uptime >= 110 s must show 
slp_s0_residency_usec and
  S0i2.2 growing by roughly the sleep time (as 6.17.0-oem does), Package C10 
growing by the same
  amount, suspend_stats success/fail = 1/0, and the OEM SRU suspend tests 
(S2idleNotDeepest,
  LongSuspend, PmDevicesFailedToSuspend) must pass. Keep the 11 x 6.17.0-oem 
rows as the control
  group.
  
  [Additional Information]
  - Attachments: switch matrix, apt history/firmware inventory, full apport 
report from the failing
    kernel, raw pmc_core/suspend_stats/dmesg dumps for both kernels, and the 
measurement log.
  - 7.0.0-28 and 7.0.0-29 did not come back after reboot on this machine (no 
SSH, no ping, power
    button required). Not yet confirmed through a serial console.
  - 7.0.0 builds published in noble-updates/security at the time of testing: 
14, 28, 29, 30, 31, 34,
    38, 42, 43, 44.
  
  [Worklog]
  2026-12-02: filed from the certification SRU regression analysis, then 
corrected after deeper
  instrumentation: the suspend itself is fine, the S0ix counters are the 
regression.
  
  [Stage]
  Right after it happened

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

Title:
  [SRU] Dell Pro 3 14 P314260 Fails on suspend test

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


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

Reply via email to