intel / S0ixSelftestTool

S0ix Selftest Tool is designed to do the initial debugging for the S2idle path CPU Package C-state and S0ix failures in Linux OS for Intel® Client platforms, it also supports the basic runtime PC10 status check.
GNU General Public License v2.0
135 stars 18 forks source link

failed entering s0ix with screen on #7

Open biji opened 2 years ago

biji commented 2 years ago

Need advice to investigate these devices with ASPM Disabled?

Devices are:

Sorry, actually not bug of this script

Thanks

./s0ix-selftest-tool.sh -r on

---Check Runtime PC10 Residency during Screen ON---:

The system OS Kernel version is:
Linux onyx.local 5.15.16-200.fc35.x86_64 #1 SMP Thu Jan 20 15:38:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

modprobe cpufreq_stats failedLoaded 750 prior measurements
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask d
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask d
Devfreq not enabled
glob returned GLOB_ABORTED
Leaving PowerTOP

The system will keep idle for 40 seconds then check runtime PC10 state:

The CPU runtime PC10 residency when screen ON: 0.00%
The CPU runtime PC8 residency when screen ON: 0.00%

Turbostat log: 
30.002528 sec
CPU%c1  CPU%c6  CPU%c7  GFX%rc6 Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10
1.60    0.00    97.45   99.54   92.04   0.00    0.00    0.00    0.00    0.00    0.00
1.68    0.00    97.52   99.54   92.04   0.00    0.00    0.00    0.00    0.00    0.00
1.21
1.52    0.00    97.60
1.73
1.75    0.00    97.68
1.21
2.04    0.00    96.99
1.68

Your system did not achieve the runtime PC10 state during screen ON

Your system Intel graphics DMC FW loaded status is:yes

Intel graphics i915 DMC FW is loaded. Will re-check the deeper
Package C-state by ignoring PCI Devices LTR value:

All the PCI devices LTR values ignore is done!

The system will keep idle for 40 seconds then check runtime PC10 state:

The CPU runtime PC10 residency when screen ON: 0.00%
The CPU runtime PC8 residency when screen ON: 0.00%

Turbostat log: 
30.002319 sec
CPU%c1  CPU%c6  CPU%c7  GFX%rc6 Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10
1.15    0.00    98.32   99.60   4.56    89.95   0.00    0.00    0.00    0.00    0.00
1.38    0.00    98.31   99.60   4.56    89.95   0.00    0.00    0.00    0.00    0.00
0.87
1.96    0.00    97.66
1.44
0.74    0.00    98.90
0.71
0.97    0.00    98.43
1.13

Your system did not achieve the runtime PC10 state during screen ON

PCI devices LTR value ignore does not help the PC10, will
check PCIe Link PM states:

Detected PCIe device link ASPM Disabled, please investigate!

        LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
        LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
        LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
        LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
biji commented 2 years ago

Hi, Using this script, package C10 is reached :smile: , I don't know why SOUTHPORT_C ltr prevents entering package C3-C10

echo powersupersave > /sys/module/pcie_aspm/parameters/policy
echo 8 >  /sys/kernel/debug/pmc_core/ltr_ignore
+ cat /sys/kernel/debug/pmc_core/package_cstate_show
Package C2 : 185592544
Package C3 : 112283487
Package C6 : 42889221
Package C7 : 54015220
Package C8 : 194726017
Package C9 : 56792
Package C10 : 4206226444