intel / intel/S0ixSelftestTool
Your system only get shallower S0ix substate residency: S0i2.0 9028122
- Dominant language
- Shell
- Stars
- 213
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
posting this hoping that this info is useful. if not, feel free to close it.
this is a Thinkpad Yoga gen 7 running a recently pulled Guix.
there are no colors on github, so let me extract the red text first:
```
Your system only get shallower S0ix substate residency: S0i2.0 9028122
Please do the advanced debug based on above substate_status_registers info
or report a bug with that attached.
Pcieport is not in D3cold: [<- probably not relevant, but that's a unicode colon]
0000:00:06.0
```
and this is my full log:
```
---Check S2idle path S0ix Residency---:
The system OS Kernel version is:
Linux lelap 6.18.26 #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
---Check whether your system supports S0ix or not---:
Low Power S0 Idle is:1
Your system supports low power S0 idle capability.
---Check whether intel_pmc_core sysfs files exit---:
The pmc_core debug sysfs files are OK on your system.
---Judge PC10, S0ix residency available status---:
Test system supports S0ix.y substate
S0ix substate before S2idle:
S0i2.0 S0i3.0
S0ix substate residency before S2idle:
0 0
Turbostat output:
15.345538 sec
CPU%c1 CPU%c6 CPU%c7 Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc8 Pk%pc10 SYS%LPI
0.56 77.47 19.28 26.05 4.37 0.00 1.02 58.58 58.84
0.55 0.05 96.02 26.05 4.37 0.00 1.02 58.58 58.84
0.55
0.60 0.01 96.76
0.60
0.80 96.60 0.00
0.59 97.16 0.00
0.48 96.82 0.00
0.45 97.32 0.00
0.29 97.45 0.00
0.64 97.19 0.00
0.48 97.64 0.00
0.68 94.49 0.00
CPU Core C7 residency after S2idle is: 19.28
CPU Package C-state 2 residency after S2idle is: 26.05
CPU Package C-state 3 residency after S2idle is: 4.37
CPU Package C-state 6 residency after S2idle is: 0.00
CPU Package C-state 8 residency after S2idle is: 1.02
CPU Package C-state 10 residency after S2idle is: 58.58
S0ix residency after S2idle is: 58.84
S0ix substate after S2idle:
S0i2.0 S0i3.0
S0ix substate residency after S2idle:
9028122 0
S0ix substates residency delta value: S0i2.0 9028122
S0ix substates residency delta value: S0i3.0 0
Your system only get shallower S0ix substate residency: S0i2.0 9028122
Need to debug why not deeper substate: S0i3.0
---Begin S0ix Substate Debug by substate_requirements---:
Clear lpm_latch_mode is Done
Set S0i2.0 to lpm_latch_mode is Done
Need to run once S2idle, please wait for 15 seconds...
substate_requirements file shows:
Did not detect the potential blockers from substate_requirements,
need to check substate_status_registers file for the advanced debug.
substate_status_registers:
PMC0:LPM_STATUS_0: 0xf5fc007c
PMC0:USB2PLL_OFF_STS 1
PMC0:PCIe/USB3.1_Gen2PLL_OFF_STS 1
PMC0:PCIe_Gen3PLL_OFF_STS 1
PMC0:OPIOPLL_OFF_STS 1
PMC0:OCPLL_OFF_STS 1
PMC0:MainPLL_OFF_STS 1
PMC0:MIPIPLL_OFF_STS 1
PMC0:Fast_XTAL_Osc_OFF_STS 0
PMC0:AC_Ring_Osc_OFF_STS 1
PMC0:MC_Ring_Osc_OFF_STS 0
PMC0:SATAPLL_OFF_STS 1
PMC0:XTAL_USB2PLL_OFF_STS 1
PMC0:LPM_STATUS_1: 0xac7fe3ef
PMC0:CSME_PG_STS 1
PMC0:SATA_PG_STS 1
PMC0:xHCI_PG_STS 1
PMC0:UFSX2_PG_STS 1
PMC0:OTG_PG_STS 1
PMC0:SPA_PG_STS 1
PMC0:SPB_PG_STS 1
PMC0:SPC_PG_STS 1
PMC0:SPD_PG_STS 1
PMC0:SPE_PG_STS 0
PMC0:SPF_PG_STS 0
PMC0:LSX_PG_STS 1
PMC0:P2SB_PG_STS 1
PMC0:PSF_PG_STS 1
PMC0:SBR_PG_STS 1
PMC0:OPIDMI_PG_STS 1
PMC0:THC0_PG_STS 1
PMC0:THC1_PG_STS 1
PMC0:GBETSN_PG_STS 1
PMC0:GBE_PG_STS 1
PMC0:LPSS_PG_STS 1
PMC0:MMP_UFSX2_PG_STS 0
PMC0:MMP_UFSX2B_PG_STS 0
PMC0:FIA_PG_STS 0
PMC0:LPM_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22 0
PMC0:xDCI_attached_REQ_STS_24 1
PMC0:LPM_STATUS_5: 0xcaaaaa
PMC0:LSX_Wake0_En_STS 0
PMC0:LSX_Wake0_Pol_STS 1
PMC0:LSX_Wake1_En_STS 0
PMC0:LSX_Wake1_Pol_STS 1
PMC0:LSX_Wake2_En_STS 0
PMC0:LSX_Wake2_Pol_STS 1
PMC0:LSX_Wake3_En_STS 0
PMC0:LSX_Wake3_Pol_STS 1
PMC0:LSX_Wake4_En_STS 0
PMC0:LSX_Wake4_Pol_STS 1
PMC0:LSX_Wake5_En_STS 0
PMC0:LSX_Wake5_Pol_STS 1
PMC0:LSX_Wake6_En_STS 0
PMC0:LSX_Wake6_Pol_STS 1
PMC0:LSX_Wake7_En_STS 0
PMC0:LSX_Wake7_Pol_STS 1
PMC0:Intel_Se_IO_Wake0_En_STS 0
PMC0:Intel_Se_IO_Wake0_Pol_STS 1
PMC0:Intel_Se_IO_Wake1_En_STS 0
PMC0:Intel_Se_IO_Wake1_Pol_STS 1
PMC0:Int_Timer_SS_Wake0_En_STS 0
PMC0:Int_Timer_SS_Wake0_Pol_STS 0
PMC0:Int_Timer_SS_Wake1_En_STS 1
PMC0:Int_Timer_SS_Wake1_Pol_STS 1
PMC0:Int_Timer_SS_Wake2_En_STS 0
PMC0:Int_Timer_SS_Wake2_Pol_STS 0
PMC0:Int_Timer_SS_Wake3_En_STS 0
PMC0:Int_Timer_SS_Wake3_Pol_STS 0
PMC0:Int_Timer_SS_Wake4_En_STS 0
PMC0:Int_Timer_SS_Wake4_Pol_STS 0
PMC0:Int_Timer_SS_Wake5_En_STS 0
PMC0:Int_Timer_SS_Wake5_Pol_STS 0
Please do the advanced debug based on above substate_status_registers info
or report a bug with that attached.
---Debug PCIe root port device and link PM state---
Checking PCI Devices D3 States:
[169395.072326] intel_ish_ipc 0000:00:12.0: PCI PM: Suspend power state: D0
[169395.072331] intel_ish_ipc 0000:00:12.0: PCI PM: Skipped
[169395.073297] i801_smbus 0000:00:1f.4: PCI PM: Suspend power state: D0
[169395.073300] i801_smbus 0000:00:1f.4: PCI PM: Skipped
[169395.082026] proc_thermal_pci 0000:00:04.0: PCI PM: Suspend power state: D3hot
[169395.083863] sof-audio-pci-intel-tgl 0000:00:1f.3: PCI PM: Suspend power state: D3hot
[169395.083903] i915 0000:00:02.0: PCI PM: Suspend power state: D3hot
[169395.084314] xhci_hcd 0000:00:0d.0: PCI PM: Suspend power state: D3cold
[169395.084834] pcieport 0000:00:07.0: PCI PM: Suspend power state: D3cold
[169395.084910] xhci_hcd 0000:00:14.0: PCI PM: Suspend power state: D3hot
[169395.086226] mei_me 0000:00:16.0: PCI PM: Suspend power state: D3hot
[169395.087681] intel-lpss 0000:00:15.1: PCI PM: Suspend power state: D3hot
[169395.089119] nvme 0000:04:00.0: PCI PM: Suspend power state: D3hot
[169395.089396] iwlwifi 0000:00:14.3: PCI PM: Suspend power state: D3hot
[169395.089486] pcieport 0000:00:07.2: PCI PM: Suspend power state: D3cold
[169395.089569] intel-lpss 0000:00:15.0: PCI PM: Suspend power state: D3hot
[169395.100832] pcieport 0000:00:06.0: PCI PM: Suspend power state: D0
[169395.100834] pcieport 0000:00:06.0: PCI PM: Skipped
[169395.102001] thunderbolt 0000:00:0d.2: PCI PM: Suspend power state: D3cold
[169395.103947] thunderbolt 0000:00:0d.3: PCI PM: Suspend power state: D3cold
Checking PCI Devices tree diagram:
-[0000:00]-+-00.0 Intel Corporation Alder Lake-U15 Host and DRAM Controller
+-02.0 Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics]
+-04.0 Intel Corporation Alder Lake Innovation Platform Framework Processor Participant
+-06.0-[04]----00.0 Phison Electronics Corporation E12 NVMe Controller
+-07.0-[20-49]--
+-07.2-[50-79]--
+-08.0 Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator
+-0a.0 Intel Corporation Platform Monitoring Technology
+-0d.0 Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller
+-0d.2 Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0
+-0d.3 Intel Corporation Alder Lake-P Thunderbolt 4 NHI #1
+-12.0 Intel Corporation Alder Lake-P Integrated Sensor Hub
+-14.0 Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller
+-14.2 Intel Corporation Alder Lake PCH Shared SRAM
+-14.3 Intel Corporation Alder Lake-P PCH CNVi WiFi
+-15.0 Intel Corporation Alder Lake PCH Serial IO I2C Controller #0
+-15.1 Intel Corporation Alder Lake PCH Serial IO I2C Controller #1
+-16.0 Intel Corporation Alder Lake PCH HECI Controller
+-1f.0 Intel Corporation Alder Lake PCH eSPI Controller
+-1f.3 Intel Corporation Alder Lake PCH-P High Definition Audio Controller
+-1f.4 Intel Corporation Alder Lake PCH-P SMBus Host Controller
\-1f.5 Intel Corporation Alder Lake-P PCH SPI Controller
The pcieport 0000:00:06.0 ASPM enable status:
LnkCtl: ASPM L1 Enabled; RCB 64 bytes, LnkDisable- CommClk+
Pcieport is not in D3cold:
0000:00:06.0
Available bridge device: 0000:00:06.0 0000:00:07.0 0000:00:07.2
0000:00:06.0 Link is in L1.2
The link power management state of PCIe bridge: 0000:00:06.0 is OK.
0000:00:07.0 Link is in Detect
The link power management state of PCIe bridge: 0000:00:07.0 is OK.
0000:00:07.2 Link is in Detect
The link power management state of PCIe bridge: 0000:00:07.2 is OK.
Your system default pcie_aspm policy setting is OK.
```
Contributor guide
Assessment
This issue has not been assessed yet.